User:Yapperbot/FRS/Documentation/godoc/yapperconfig

package yapperconfig // import "yapperbot-frs/src/yapperconfig"


CONSTANTS

const ClosingJSON string = `}`
const OpeningJSON string = `{"DO NOT TOUCH THIS PAGE":"This page is used internally by Yapperbot to make the Feedback Request Service work.",`
    OpeningJSON and ClosingJSON are the first and last lines of any JSON object
    generated by Yapperbot to store on-wiki.


TYPES

type configObject struct {
        FRSPageID                string
        SentCountPageID          string
        GAGuidelinesHeaderPageID string
        RFCsDonePageID           string
}
    configObject is the local implementation of ybtools' configuration. each of
    these keys are just pulled straight from the config-frs yml file in the
    application directory by ybtools. this doesn't include EditLimit, which is
    handled by ybtools directly

var Config configObject
    Config is the global configuration object. This should only really ever be
    read from.