Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DataSageServer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "DataSageServer", HandlerType: (*DataSageServerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "LogSend", Handler: _DataSageServer_LogSend_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "datasage.proto", }
DataSageServer_ServiceDesc is the grpc.ServiceDesc for DataSageServer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_datasage_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDataSageServerServer ¶
func RegisterDataSageServerServer(s grpc.ServiceRegistrar, srv DataSageServerServer)
Types ¶
type DataSageServerClient ¶
type DataSageServerClient interface {
LogSend(ctx context.Context, in *Log, opts ...grpc.CallOption) (*Null, error)
}
DataSageServerClient is the client API for DataSageServer 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 NewDataSageServerClient ¶
func NewDataSageServerClient(cc grpc.ClientConnInterface) DataSageServerClient
type DataSageServerServer ¶
type DataSageServerServer interface { LogSend(context.Context, *Log) (*Null, error) // contains filtered or unexported methods }
DataSageServerServer is the server API for DataSageServer service. All implementations must embed UnimplementedDataSageServerServer for forward compatibility
type Log ¶
type Log struct { Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Null ¶
type Null struct {
// contains filtered or unexported fields
}
func (*Null) Descriptor
deprecated
func (*Null) ProtoMessage ¶
func (*Null) ProtoMessage()
func (*Null) ProtoReflect ¶
func (x *Null) ProtoReflect() protoreflect.Message
type UnimplementedDataSageServerServer ¶
type UnimplementedDataSageServerServer struct { }
UnimplementedDataSageServerServer must be embedded to have forward compatible implementations.
type UnsafeDataSageServerServer ¶
type UnsafeDataSageServerServer interface {
// contains filtered or unexported methods
}
UnsafeDataSageServerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataSageServerServer will result in compilation errors.