Documentation
¶
Overview ¶
Package greet is a small demonstration library that exists so examples and tests can exercise configuration routing. The library carries a single configuration field (Prefix) and a single action (say) that prepends the prefix to a caller-supplied message.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
Configuration is the per-alias body operators fill out in `configurations.greet.<alias>` in config.ub.
type SayAction ¶
type SayAction struct {
Message string
}
SayAction prepends the configured prefix to a message.
type SayActionOutput ¶
type SayActionOutput struct {
Output string
}
SayActionOutput is the action's output.
Click to show internal directories.
Click to hide internal directories.