client

package
v0.62.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCClient

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

func NewClient

func NewClient(addr, payload, signature string, interval time.Duration) (*GRPCClient, error)

func (*GRPCClient) Close

func (c *GRPCClient) Close() error

func (*GRPCClient) Receive

func (c *GRPCClient) Receive(ctx context.Context, interval time.Duration, msgHandler func(msg *proto.FlowEventAck) error) error

func (*GRPCClient) Send

func (c *GRPCClient) Send(event *proto.FlowEvent) error

Jump to

Keyboard shortcuts

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