micro

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrServiceNotFound .
	ErrServiceNotFound = errors.New("service not found")
	// ErrServiceUnreachable .
	ErrServiceUnreachable = errors.New("service unreachable")
)

Functions

This section is empty.

Types

type ServiceManager

type ServiceManager interface {
	AddServiceNodes(path string, value string)
	DeleteServiceNodes(path string)
	ClientBy(serviceName string) (*arpc.Client, error)
}

ServiceManager .

func NewServiceManager

func NewServiceManager(dialer func(addr string) (net.Conn, error)) ServiceManager

NewServiceManager .

type ServiceNode

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

ServiceNode .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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