Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeUpdate ¶
Types ¶
type Anzu ¶
type Anzu struct { Site anzuSite Homedir string Security anzuSecurity Mail anzuMail Oauth OauthConfig Runtime anzuRuntime }
Anzu config params struct.
type Config ¶
type Config struct { Reload chan struct{} // contains filtered or unexported fields }
var ( // C stands for config C *Config // LoggingBackend packages should use. LoggingBackend logging.LeveledBackend )
type OauthConfig ¶
type ReactionEffect ¶
type ReactionEffect struct {
Code string `hcl:"exec"`
}
func (ReactionEffect) Rewards ¶
func (re ReactionEffect) Rewards() (Rewards, error)
Rewards is a way to transform the reaction code from system config (javascript definition) into a reward struct.
Click to show internal directories.
Click to hide internal directories.