Documentation ¶
Index ¶
Constants ¶
const (
Droptailer_Push_FullMethodName = "/proto.Droptailer/Push"
)
Variables ¶
var Droptailer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Droptailer", HandlerType: (*DroptailerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Push", Handler: _Droptailer_Push_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/droptailer.proto", }
Droptailer_ServiceDesc is the grpc.ServiceDesc for Droptailer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_droptailer_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDroptailerServer ¶
func RegisterDroptailerServer(s grpc.ServiceRegistrar, srv DroptailerServer)
Types ¶
type Drop ¶
type Drop struct { Timestamp *timestamppb.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) GetTimestamp ¶
func (x *Drop) GetTimestamp() *timestamppb.Timestamp
func (*Drop) ProtoMessage ¶
func (*Drop) ProtoMessage()
func (*Drop) ProtoReflect ¶
func (x *Drop) ProtoReflect() protoreflect.Message
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDroptailerClient ¶
func NewDroptailerClient(cc grpc.ClientConnInterface) DroptailerClient
type DroptailerServer ¶
DroptailerServer is the server API for Droptailer service. All implementations should embed UnimplementedDroptailerServer for forward compatibility.
type UnimplementedDroptailerServer ¶
type UnimplementedDroptailerServer struct{}
UnimplementedDroptailerServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnsafeDroptailerServer ¶
type UnsafeDroptailerServer interface {
// contains filtered or unexported methods
}
UnsafeDroptailerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DroptailerServer will result in compilation errors.
type Void ¶
type Void struct {
// contains filtered or unexported fields
}
func (*Void) Descriptor
deprecated
func (*Void) ProtoMessage ¶
func (*Void) ProtoMessage()
func (*Void) ProtoReflect ¶
func (x *Void) ProtoReflect() protoreflect.Message