Documentation
¶
Overview ¶
Package reporting is a generated protocol buffer package.
It is generated from these files:
api.proto
It has these top-level messages:
GRPCEvent GRPCEvents
Index ¶
- Variables
- func RegisterEventsServiceServer(s *grpc.Server, srv EventsServiceServer)
- type EventsServiceClient
- type EventsServiceServer
- type GRPCEvent
- func (*GRPCEvent) Descriptor() ([]byte, []int)
- func (m *GRPCEvent) Marshal() (data []byte, err error)
- func (m *GRPCEvent) MarshalTo(data []byte) (int, error)
- func (*GRPCEvent) ProtoMessage()
- func (m *GRPCEvent) Reset()
- func (m *GRPCEvent) Size() (n int)
- func (m *GRPCEvent) String() string
- func (m *GRPCEvent) Unmarshal(data []byte) error
- type GRPCEvents
- func (*GRPCEvents) Descriptor() ([]byte, []int)
- func (m *GRPCEvents) GetEvents() []*GRPCEvent
- func (m *GRPCEvents) Marshal() (data []byte, err error)
- func (m *GRPCEvents) MarshalTo(data []byte) (int, error)
- func (*GRPCEvents) ProtoMessage()
- func (m *GRPCEvents) Reset()
- func (m *GRPCEvents) Size() (n int)
- func (m *GRPCEvents) String() string
- func (m *GRPCEvents) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterEventsServiceServer ¶
func RegisterEventsServiceServer(s *grpc.Server, srv EventsServiceServer)
Types ¶
type EventsServiceClient ¶
type EventsServiceClient interface { // Record records the provided list of gRPC events Record(ctx context.Context, in *GRPCEvents, opts ...grpc.CallOption) (*google_protobuf.Empty, error) }
func NewEventsServiceClient ¶
func NewEventsServiceClient(cc *grpc.ClientConn) EventsServiceClient
type EventsServiceServer ¶
type EventsServiceServer interface { // Record records the provided list of gRPC events Record(context.Context, *GRPCEvents) (*google_protobuf.Empty, error) }
type GRPCEvent ¶
type GRPCEvent struct { // Data is the JSON-encoded event payload Data []byte `protobuf:"bytes,1,opt,name=Data,json=data,proto3" json:"Data,omitempty"` }
GRPCEvent represents a single event sent over gRPC
func (*GRPCEvent) Descriptor ¶
func (*GRPCEvent) ProtoMessage ¶
func (*GRPCEvent) ProtoMessage()
type GRPCEvents ¶
type GRPCEvents struct { // Events is a list of events Events []*GRPCEvent `protobuf:"bytes,1,rep,name=Events,json=events" json:"Events,omitempty"` }
Events defines a series of events sent over gRPC
func (*GRPCEvents) Descriptor ¶
func (*GRPCEvents) Descriptor() ([]byte, []int)
func (*GRPCEvents) GetEvents ¶
func (m *GRPCEvents) GetEvents() []*GRPCEvent
func (*GRPCEvents) Marshal ¶
func (m *GRPCEvents) Marshal() (data []byte, err error)
func (*GRPCEvents) ProtoMessage ¶
func (*GRPCEvents) ProtoMessage()
func (*GRPCEvents) Reset ¶
func (m *GRPCEvents) Reset()
func (*GRPCEvents) Size ¶
func (m *GRPCEvents) Size() (n int)
func (*GRPCEvents) String ¶
func (m *GRPCEvents) String() string
func (*GRPCEvents) Unmarshal ¶
func (m *GRPCEvents) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.