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
Click to show internal directories.
Click to hide internal directories.