Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpConfig ¶
type HttpConfig struct { Enable bool TimeTick time.Duration //故障检测的时间间隔,单位为秒 Groups map[string]HttpNodeConfig }
type HttpNodeConfig ¶
type HttpService ¶
func NewHttpService ¶
func NewHttpService(ctx *app.Context) *HttpService
func (*HttpService) Close ¶
func (client *HttpService) Close()
func (*HttpService) Name ¶
func (client *HttpService) Name() string
func (*HttpService) Reload ¶
func (client *HttpService) Reload()
Click to show internal directories.
Click to hide internal directories.