Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
type Callback func(payload *ServiceInfo)
type ConfigerService ¶
type ConfigerService interface { SubService(serviceName string, callback Callback) error GetServiceNode(serviceName, key string) *ServiceInfo LoginService(info *ServiceInfo) error LogoutService() error }
func NewConfiger ¶
func NewConfiger(opt *redis.Options) ConfigerService
type ServiceInfo ¶
func (*ServiceInfo) RecognizeHitKeys ¶
func (s *ServiceInfo) RecognizeHitKeys(keys []string) []string
func (*ServiceInfo) String ¶
func (s *ServiceInfo) String() string
type VirtualNode ¶
type VirtualNode struct { ServiceInfo *ServiceInfo // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.