client

package
v0.1.64 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 9 Imported by: 0

README

gRPC client to deal with other modules in cluster

Documentation

Index

Constants

View Source
const DefaultStoreTTL = 60 * 60

DefaultStoreTTL for how long we keep grpc client in a pool, default 1h

Variables

This section is empty.

Functions

func NewPool

func NewPool() *pool

Types

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