redis

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

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

Discovery .

func NewDiscovery

func NewDiscovery(addr string, serviceNamespace string, interval time.Duration, serviceManager micro.ServiceManager) (*Discovery, error)

NewDiscovery .

func (*Discovery) Stop

func (ds *Discovery) Stop() error

Stop .

type Register

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

Register .

func NewRegister

func NewRegister(addr, serviceNamespace, serviceName, serviceAddr string, weight int, interval, expire time.Duration) (*Register, error)

NewRegister .

func (*Register) Stop

func (s *Register) Stop() error

Stop .

Jump to

Keyboard shortcuts

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