Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type World ¶
type World struct {
// contains filtered or unexported fields
}
func New ¶
func New(c WorldConfig) World
type WorldConfig ¶
type WorldConfig struct { // Message that is going to be logged on the console GreatingMessage string `json:"greatingMessage" jsonschema:"example=hello world,default=hello"` // Frequency in which the message is going to be logged GreatingFrequency time.Duration `json:"greatingFrequency" jsonschema:"example=1h,default=10s"` }
WorldConfig bla bla bla
Click to show internal directories.
Click to hide internal directories.