Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server ServerConfig `json:"server"` Forward string `json:"forward"` }
func (*Config) RegisterFlags ¶
type ServerConfig ¶
type ServerConfig struct { // URL is the server URL. URL string `json:"url"` }
func (*ServerConfig) Validate ¶
func (c *ServerConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.