Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfDiscovery ¶
type HTTPClient ¶
type HTTPClient struct { Dial xtime.Duration Timeout xtime.Duration KeepAlive xtime.Duration Timer int }
HTTPClient http client settings.
type HTTPServer ¶
type HTTPServer struct { Addrs []string MaxListen int32 ReadTimeout xtime.Duration WriteTimeout xtime.Duration }
=================================== HTTP ================================== HTTPServer http server settings.
type KafkaConsumer ¶
type KafkaConsumer struct { Group string Topics []string Offset bool // true: new, false: old Zookeeper *Zookeeper }
KafkaConsumer kafka client settings.
type KafkaProducer ¶
type KafkaProducer struct { Zookeeper *Zookeeper Brokers []string Sync bool // true: sync, false: async }
KafkaProducer kafka producer settings.
type MultiHTTP ¶
type MultiHTTP struct { Outer *HTTPServer Inner *HTTPServer Local *HTTPServer }
MultiHttp outer/inner/local http server settings.
type Redis ¶
type Redis struct { Name string // redis name, for trace Proto string Addr string Active int // pool Idle int // pool DialTimeout xtime.Duration ReadTimeout xtime.Duration WriteTimeout xtime.Duration IdleTimeout xtime.Duration }
Redis client settings.
type ServiceDiscoveryClient ¶
type ServiceDiscoveryServer ¶
Click to show internal directories.
Click to hide internal directories.