Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
Debug bool
}
An example of a logger that implements `pkg/log/Logger`. Logs to stdout. If Debug == false then Debugf() and Infof() won't output anything.
type Manifest ¶
type Manifest struct { Name string `yaml:"name"` Location string `yaml:"location"` Environment map[string]string `yaml:"environment"` Authorization struct { Extensions map[string]string `yaml:"extensions"` } `yaml:"authorization"` Paths map[string]struct { Handler string `yaml:"handler"` Authorization struct { ObjectIdPtr string `yaml:"objectid_ptr"` Extensions map[string]string `yaml:"extensions"` } `yaml:"authorization"` } `yaml:"paths"` Streams []struct { InTopic string `yaml:"in_topic"` InGroup string `yaml:"in_group"` OutTopic string `yaml:"out_topic"` Handler string `yaml:"handler"` } `yaml:"streams"` }
Click to show internal directories.
Click to hide internal directories.