client

package
v0.0.0-...-e0aea17 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: MIT Imports: 8 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 New

func New(target string) (*GrpcClient, error)

func (*GrpcClient) Close

func (c *GrpcClient) Close()

func (*GrpcClient) Send

func (c *GrpcClient) Send(Action grpc_log.LogRequest_Actions,
	Entity grpc_log.LogRequest_Entities,
	EntityId int64) error

Action LogRequest_Actions `protobuf:"varint,1,opt,name=action,proto3,enum=grpc_log.LogRequest_Actions" json:"action,omitempty"` Entity LogRequest_Entities `protobuf:"varint,2,opt,name=entity,proto3,enum=grpc_log.LogRequest_Entities" json:"entity,omitempty"` EntityId int64 `protobuf:"varint,3,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` Timestamp *timestamppb.Timestamp

Jump to

Keyboard shortcuts

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