serviceRegisterService

package
v0.0.0-...-63b2ac5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2019 License: GPL-2.0 Imports: 8 Imported by: 0

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 KvPaire

type KvPaire struct {
	// contains filtered or unexported fields
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL