Documentation
¶
Index ¶
Constants ¶
View Source
const (
FlagLogLevel = "log_level"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheConfig ¶
type CacheConfig struct {
ServerAddress string `json:"server_address"`
Interval time.Duration `json:"interval"`
ContextTimeout time.Duration `json:"context_timeout"`
Requests []Request `json:"requests"`
}
CacheConfig represents a single server configuration with its requests
func (*CacheConfig) UnmarshalJSON ¶
func (c *CacheConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements custom JSON unmarshaling for CacheConfig
Click to show internal directories.
Click to hide internal directories.