Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterActivityBindingServer(s grpc.ServiceRegistrar, srv ActivityBindingServer)
- func RegisterActivityReporterServer(s grpc.ServiceRegistrar, srv ActivityReporterServer)
- type ActivityBindingClient
- type ActivityBindingServer
- type ActivityReporterClient
- type ActivityReporterServer
- type BindRequest
- func (*BindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindRequest) GetBrokerId() uint32
- func (x *BindRequest) GetVersion() uint32
- func (*BindRequest) ProtoMessage()
- func (x *BindRequest) ProtoReflect() protoreflect.Message
- func (x *BindRequest) Reset()
- func (x *BindRequest) String() string
- type BindResponse
- type ReportRequest
- func (*ReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportRequest) GetOperation() string
- func (x *ReportRequest) GetPayload() []byte
- func (x *ReportRequest) GetVersion() uint32
- func (*ReportRequest) ProtoMessage()
- func (x *ReportRequest) ProtoReflect() protoreflect.Message
- func (x *ReportRequest) Reset()
- func (x *ReportRequest) String() string
- type ReportResponse
- type UnimplementedActivityBindingServer
- type UnimplementedActivityReporterServer
- type UnsafeActivityBindingServer
- type UnsafeActivityReporterServer
Constants ¶
const (
ActivityBinding_Bind_FullMethodName = "/omniview.activity.v1.ActivityBinding/Bind"
)
const (
ActivityReporter_Report_FullMethodName = "/omniview.activity.v1.ActivityReporter/Report"
)
Variables ¶
var ActivityBinding_ServiceDesc = grpc.ServiceDesc{ ServiceName: "omniview.activity.v1.ActivityBinding", HandlerType: (*ActivityBindingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Bind", Handler: _ActivityBinding_Bind_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/v1/activity/activity.proto", }
ActivityBinding_ServiceDesc is the grpc.ServiceDesc for ActivityBinding service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ActivityReporter_ServiceDesc = grpc.ServiceDesc{ ServiceName: "omniview.activity.v1.ActivityReporter", HandlerType: (*ActivityReporterServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Report", Handler: _ActivityReporter_Report_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/v1/activity/activity.proto", }
ActivityReporter_ServiceDesc is the grpc.ServiceDesc for ActivityReporter 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_v1_activity_activity_proto protoreflect.FileDescriptor
Functions ¶
func RegisterActivityBindingServer ¶
func RegisterActivityBindingServer(s grpc.ServiceRegistrar, srv ActivityBindingServer)
func RegisterActivityReporterServer ¶
func RegisterActivityReporterServer(s grpc.ServiceRegistrar, srv ActivityReporterServer)
Types ¶
type ActivityBindingClient ¶
type ActivityBindingClient interface {
Bind(ctx context.Context, in *BindRequest, opts ...grpc.CallOption) (*BindResponse, error)
}
ActivityBindingClient is the client API for ActivityBinding 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 NewActivityBindingClient ¶
func NewActivityBindingClient(cc grpc.ClientConnInterface) ActivityBindingClient
type ActivityBindingServer ¶
type ActivityBindingServer interface {
Bind(context.Context, *BindRequest) (*BindResponse, error)
}
ActivityBindingServer is the server API for ActivityBinding service. All implementations should embed UnimplementedActivityBindingServer for forward compatibility
type ActivityReporterClient ¶
type ActivityReporterClient interface {
Report(ctx context.Context, in *ReportRequest, opts ...grpc.CallOption) (*ReportResponse, error)
}
ActivityReporterClient is the client API for ActivityReporter 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 NewActivityReporterClient ¶
func NewActivityReporterClient(cc grpc.ClientConnInterface) ActivityReporterClient
type ActivityReporterServer ¶
type ActivityReporterServer interface {
Report(context.Context, *ReportRequest) (*ReportResponse, error)
}
ActivityReporterServer is the server API for ActivityReporter service. All implementations should embed UnimplementedActivityReporterServer for forward compatibility
type BindRequest ¶
type BindRequest struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
BrokerId uint32 `protobuf:"varint,2,opt,name=broker_id,json=brokerId,proto3" json:"broker_id,omitempty"`
// contains filtered or unexported fields
}
func (*BindRequest) Descriptor
deprecated
func (*BindRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindRequest.ProtoReflect.Descriptor instead.
func (*BindRequest) GetBrokerId ¶
func (x *BindRequest) GetBrokerId() uint32
func (*BindRequest) GetVersion ¶
func (x *BindRequest) GetVersion() uint32
func (*BindRequest) ProtoMessage ¶
func (*BindRequest) ProtoMessage()
func (*BindRequest) ProtoReflect ¶
func (x *BindRequest) ProtoReflect() protoreflect.Message
func (*BindRequest) Reset ¶
func (x *BindRequest) Reset()
func (*BindRequest) String ¶
func (x *BindRequest) String() string
type BindResponse ¶
type BindResponse struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*BindResponse) Descriptor
deprecated
func (*BindResponse) Descriptor() ([]byte, []int)
Deprecated: Use BindResponse.ProtoReflect.Descriptor instead.
func (*BindResponse) GetVersion ¶
func (x *BindResponse) GetVersion() uint32
func (*BindResponse) ProtoMessage ¶
func (*BindResponse) ProtoMessage()
func (*BindResponse) ProtoReflect ¶
func (x *BindResponse) ProtoReflect() protoreflect.Message
func (*BindResponse) Reset ¶
func (x *BindResponse) Reset()
func (*BindResponse) String ¶
func (x *BindResponse) String() string
type ReportRequest ¶
type ReportRequest struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
// contains filtered or unexported fields
}
func (*ReportRequest) Descriptor
deprecated
func (*ReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportRequest.ProtoReflect.Descriptor instead.
func (*ReportRequest) GetOperation ¶
func (x *ReportRequest) GetOperation() string
func (*ReportRequest) GetPayload ¶
func (x *ReportRequest) GetPayload() []byte
func (*ReportRequest) GetVersion ¶
func (x *ReportRequest) GetVersion() uint32
func (*ReportRequest) ProtoMessage ¶
func (*ReportRequest) ProtoMessage()
func (*ReportRequest) ProtoReflect ¶
func (x *ReportRequest) ProtoReflect() protoreflect.Message
func (*ReportRequest) Reset ¶
func (x *ReportRequest) Reset()
func (*ReportRequest) String ¶
func (x *ReportRequest) String() string
type ReportResponse ¶
type ReportResponse struct {
Record []byte `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
// contains filtered or unexported fields
}
func (*ReportResponse) Descriptor
deprecated
func (*ReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportResponse.ProtoReflect.Descriptor instead.
func (*ReportResponse) GetRecord ¶
func (x *ReportResponse) GetRecord() []byte
func (*ReportResponse) ProtoMessage ¶
func (*ReportResponse) ProtoMessage()
func (*ReportResponse) ProtoReflect ¶
func (x *ReportResponse) ProtoReflect() protoreflect.Message
func (*ReportResponse) Reset ¶
func (x *ReportResponse) Reset()
func (*ReportResponse) String ¶
func (x *ReportResponse) String() string
type UnimplementedActivityBindingServer ¶
type UnimplementedActivityBindingServer struct {
}
UnimplementedActivityBindingServer should be embedded to have forward compatible implementations.
func (UnimplementedActivityBindingServer) Bind ¶
func (UnimplementedActivityBindingServer) Bind(context.Context, *BindRequest) (*BindResponse, error)
type UnimplementedActivityReporterServer ¶
type UnimplementedActivityReporterServer struct {
}
UnimplementedActivityReporterServer should be embedded to have forward compatible implementations.
func (UnimplementedActivityReporterServer) Report ¶
func (UnimplementedActivityReporterServer) Report(context.Context, *ReportRequest) (*ReportResponse, error)
type UnsafeActivityBindingServer ¶
type UnsafeActivityBindingServer interface {
// contains filtered or unexported methods
}
UnsafeActivityBindingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActivityBindingServer will result in compilation errors.
type UnsafeActivityReporterServer ¶
type UnsafeActivityReporterServer interface {
// contains filtered or unexported methods
}
UnsafeActivityReporterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActivityReporterServer will result in compilation errors.