Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApplicationServerTransport ¶
type ApplicationServerTransport struct { IP string `json:"ip"` Port string `json:"port"` HealthcheckAddress string `json:"healthcheckAddress"` }
ApplicationServerTransport ...
func (*ApplicationServerTransport) String ¶
func (applicationServerTransport *ApplicationServerTransport) String() string
Release stringer interface for print/log data in []*ApplicationServerTransport
type IDGenerator ¶
type IDGenerator struct { }
IDGenerator ...
func (*IDGenerator) NewID ¶
func (idGenerator *IDGenerator) NewID() string
NewID generate new ID in domain id model/struct
type ServiceTransport ¶
type ServiceTransport struct { IP string `json:"ip"` Port string `json:"port"` BalanceType string `json:"balanceType"` RoutingType string `json:"routingType"` Protocol string `json:"protocol"` HealthcheckType string `json:"healthcheckType"` HelloTimer string `json:"helloTimer"` ResponseTimer string `json:"responseTimer"` AliveThreshold string `json:"aliveThreshold"` DeadThreshold string `json:"deadThreshold"` Quorum string `json:"quorum"` // Hysteresis string `json:"hysteresis"` ApplicationServersTransport []*ApplicationServerTransport `json:"-"` }
ServiceTransport ...
func (*ServiceTransport) String ¶
func (serviceTransport *ServiceTransport) String() string
Release stringer interface for print/log data in []*ServiceTransport
Click to show internal directories.
Click to hide internal directories.