service

package
v0.0.0-...-59bc7d8 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManageService

type ManageService interface {
	Open(ctx context.Context) error
	Close()
}

func NewManageService

func NewManageService(stopCh <-chan struct{}) (ManageService, error)

type SimpleService

type SimpleService interface {
	Register(ctx context.Context, node string) error
	UnRegister(ctx context.Context, node string) error
	Release(node string)
}

func NewSimpleService

func NewSimpleService(stopCh <-chan struct{}) (SimpleService, error)

Jump to

Keyboard shortcuts

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