proto

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_droptailer_proto protoreflect.FileDescriptor

Functions

func RegisterDroptailerServer

func RegisterDroptailerServer(s *grpc.Server, srv DroptailerServer)

Types

type Drop

type Drop struct {
	Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Fields    map[string]string    `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Drop) Descriptor deprecated

func (*Drop) Descriptor() ([]byte, []int)

Deprecated: Use Drop.ProtoReflect.Descriptor instead.

func (*Drop) GetFields

func (x *Drop) GetFields() map[string]string

func (*Drop) GetTimestamp

func (x *Drop) GetTimestamp() *timestamp.Timestamp

func (*Drop) ProtoMessage

func (*Drop) ProtoMessage()

func (*Drop) ProtoReflect added in v0.2.3

func (x *Drop) ProtoReflect() protoreflect.Message

func (*Drop) Reset

func (x *Drop) Reset()

func (*Drop) String

func (x *Drop) String() string

type DroptailerClient

type DroptailerClient interface {
	Push(ctx context.Context, in *Drop, opts ...grpc.CallOption) (*Void, error)
}

DroptailerClient is the client API for Droptailer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDroptailerClient

func NewDroptailerClient(cc grpc.ClientConnInterface) DroptailerClient

type DroptailerServer

type DroptailerServer interface {
	Push(context.Context, *Drop) (*Void, error)
}

DroptailerServer is the server API for Droptailer service.

type UnimplementedDroptailerServer

type UnimplementedDroptailerServer struct {
}

UnimplementedDroptailerServer can be embedded to have forward compatible implementations.

func (*UnimplementedDroptailerServer) Push

type Void

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

func (*Void) Descriptor deprecated

func (*Void) Descriptor() ([]byte, []int)

Deprecated: Use Void.ProtoReflect.Descriptor instead.

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) ProtoReflect added in v0.2.3

func (x *Void) ProtoReflect() protoreflect.Message

func (*Void) Reset

func (x *Void) Reset()

func (*Void) String

func (x *Void) String() string

Jump to

Keyboard shortcuts

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