Documentation
¶
Index ¶
- type EtcdServiceOperations
- func (myself EtcdServiceOperations) DelMessage(key string) ([]byte, error)
- func (myself EtcdServiceOperations) GetAllNodeIds(role string) ([]string, error)
- func (myself EtcdServiceOperations) GetMesssage(key string) ([]byte, error)
- func (myself EtcdServiceOperations) SetMessage(key string, msgContent []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdServiceOperations ¶
type EtcdServiceOperations struct {
// contains filtered or unexported fields
}
func NewEtcdServiceOperations ¶
func NewEtcdServiceOperations(client *clientv3.Client, opts map[string]string) *EtcdServiceOperations
func (EtcdServiceOperations) DelMessage ¶
func (myself EtcdServiceOperations) DelMessage(key string) ([]byte, error)
func (EtcdServiceOperations) GetAllNodeIds ¶
func (myself EtcdServiceOperations) GetAllNodeIds(role string) ([]string, error)
func (EtcdServiceOperations) GetMesssage ¶
func (myself EtcdServiceOperations) GetMesssage(key string) ([]byte, error)
func (EtcdServiceOperations) SetMessage ¶
func (myself EtcdServiceOperations) SetMessage(key string, msgContent []byte) error
Click to show internal directories.
Click to hide internal directories.