Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct { Method string `yaml:"method"` Route string `yaml:"route"` Type string `yaml:"type"` Local bool `yaml:"local,omitempty"` // only for listeners Path string `yaml:"path"` // file path if bin or local listener, host:port to remote listener Port string }
Handler configuration tells Tanuki how to route requests and call the correct handler to process the info
Click to show internal directories.
Click to hide internal directories.