Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OPServiceResp_Faild ¶
func OPServiceResp_Faild(msg string, code services.OPServiceResponse_OpCode) *services.OPServiceResponse
func OPServiceResp_OK ¶
func OPServiceResp_OK() *services.OPServiceResponse
Types ¶
type EtcdService ¶
type EtcdService struct {
// contains filtered or unexported fields
}
func NewEtcdService ¶
func NewEtcdService(ctx context.Context) (*EtcdService, error)
func (*EtcdService) BputIfNotExist ¶
func (this *EtcdService) BputIfNotExist(key, value []byte) (err error)
func (*EtcdService) SputIfNotExist ¶
func (this *EtcdService) SputIfNotExist(key, value string) (err error)
type SimpleServiceRegisterServiceImpl ¶
type SimpleServiceRegisterServiceImpl struct {
XetcdService *EtcdService
}
func (*SimpleServiceRegisterServiceImpl) SetupService ¶
func (this *SimpleServiceRegisterServiceImpl) SetupService(ctx context.Context, opsResq *services.OPServiceRequest) (resp *services.OPServiceResponse, err error)
Click to show internal directories.
Click to hide internal directories.