Documentation ¶ Index ¶ type Configer func NewConfiger(path string) (Configer, error) type WebConfig type WebResp Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Configer ¶ type Configer interface { Get(router string) (*WebConfig, error) } Configer Configer func NewConfiger ¶ func NewConfiger(path string) (Configer, error) NewConfiger NewConfiger type WebConfig ¶ type WebConfig struct { Router string `json:"router"` Type string `json:"type"` Resp *WebResp `json:"resp"` } WebConfig Config type WebResp ¶ type WebResp struct { Status int `json:"status"` Headers map[string]string `json:"headers"` File string `json:"file"` Body json.RawMessage `json:"body"` } WebResp WebResp Source Files ¶ View all Source files config.go response.go Click to show internal directories. Click to hide internal directories.