client

package
v0.1.150 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: MIT Imports: 12 Imported by: 0

README

gRPC client to deal with other modules in cluster

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressPool added in v0.1.124

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

func NewPool

func NewPool() *AddressPool

func (*AddressPool) Deregister added in v0.1.124

func (p *AddressPool) Deregister(moduleName string)

func (*AddressPool) Handler added in v0.1.124

func (p *AddressPool) Handler(ctx context.Context, msg *runner.Msg) ([]byte, error)

func (*AddressPool) Register added in v0.1.124

func (p *AddressPool) Register(moduleName, addr string)

func (*AddressPool) SetLogger added in v0.1.124

func (p *AddressPool) SetLogger(l logr.Logger) *AddressPool

func (*AddressPool) Start added in v0.1.124

func (p *AddressPool) Start(ctx context.Context) error

type Pool

type Pool interface {
	Register(moduleName, addr string)
	Deregister(moduleName string)
}

Jump to

Keyboard shortcuts

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