grpc

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKeyFilter

func GetKeyFilter(regex *regexp.Regexp) client.KeyDiffFilter

func GetKeyTransform

func GetKeyTransform(TrimKeyPath bool) client.KeyDiffTransform

Types

type GrpcNotifClient

type GrpcNotifClient struct {
	Targets []GrpcNotifClientTarget
}

func ConnectToNotifEndpoints

func ConnectToNotifEndpoints(notifications []config.ConfigGrpcNotifications) (*GrpcNotifClient, error)

func (*GrpcNotifClient) Close

func (cli *GrpcNotifClient) Close() []error

func (*GrpcNotifClient) Send

func (cli *GrpcNotifClient) Send(diff client.KeyDiff) error

type GrpcNotifClientTarget

type GrpcNotifClientTarget struct {
	KeyFilter    client.KeyDiffFilter
	KeyTransform client.KeyDiffTransform
	MaxChunkSize uint64
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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