Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigSchema ¶
type ConfigSchema struct {
Servers []ServerSchema `json:"servers"`
}
func (*ConfigSchema) CreateConfig ¶
func (s *ConfigSchema) CreateConfig() Config
func (*ConfigSchema) Validate ¶
func (s *ConfigSchema) Validate() error
type Duration ¶
期間をそのままJSONに記述できるようにするためには、encoding/jsonの要求するインターフェースをみたす型である必要があるため
func (*Duration) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.