Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ErrAddRoutes is the error returned when adding routes to the router fails. ErrAddRoutes = errors.Error("failed to add routes") // ErrServer is the error returned when the server stops due to an error. ErrServer = errors.Error("listen stopped with error") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port string `yaml:"port"`
}
Config represents the configuration of the http listener.
Click to show internal directories.
Click to hide internal directories.