Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterChannelsServiceServer(s grpc.ServiceRegistrar, srv ChannelsServiceServer)
- type AuthzReq
- func (*AuthzReq) Descriptor() ([]byte, []int)deprecated
- func (x *AuthzReq) GetChannelId() string
- func (x *AuthzReq) GetClientId() string
- func (x *AuthzReq) GetClientType() string
- func (x *AuthzReq) GetDomainId() string
- func (x *AuthzReq) GetType() uint32
- func (*AuthzReq) ProtoMessage()
- func (x *AuthzReq) ProtoReflect() protoreflect.Message
- func (x *AuthzReq) Reset()
- func (x *AuthzReq) String() string
- type AuthzRes
- type ChannelsServiceClient
- type ChannelsServiceServer
- type RemoveClientConnectionsReq
- func (*RemoveClientConnectionsReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveClientConnectionsReq) GetClientId() string
- func (*RemoveClientConnectionsReq) ProtoMessage()
- func (x *RemoveClientConnectionsReq) ProtoReflect() protoreflect.Message
- func (x *RemoveClientConnectionsReq) Reset()
- func (x *RemoveClientConnectionsReq) String() string
- type RemoveClientConnectionsRes
- type UnimplementedChannelsServiceServer
- func (UnimplementedChannelsServiceServer) Authorize(context.Context, *AuthzReq) (*AuthzRes, error)
- func (UnimplementedChannelsServiceServer) RemoveClientConnections(context.Context, *RemoveClientConnectionsReq) (*RemoveClientConnectionsRes, error)
- func (UnimplementedChannelsServiceServer) RetrieveEntity(context.Context, *v1.RetrieveEntityReq) (*v1.RetrieveEntityRes, error)
- func (UnimplementedChannelsServiceServer) UnsetParentGroupFromChannels(context.Context, *UnsetParentGroupFromChannelsReq) (*UnsetParentGroupFromChannelsRes, error)
- type UnsafeChannelsServiceServer
- type UnsetParentGroupFromChannelsReq
- func (*UnsetParentGroupFromChannelsReq) Descriptor() ([]byte, []int)deprecated
- func (x *UnsetParentGroupFromChannelsReq) GetParentGroupId() string
- func (*UnsetParentGroupFromChannelsReq) ProtoMessage()
- func (x *UnsetParentGroupFromChannelsReq) ProtoReflect() protoreflect.Message
- func (x *UnsetParentGroupFromChannelsReq) Reset()
- func (x *UnsetParentGroupFromChannelsReq) String() string
- type UnsetParentGroupFromChannelsRes
- func (*UnsetParentGroupFromChannelsRes) Descriptor() ([]byte, []int)deprecated
- func (*UnsetParentGroupFromChannelsRes) ProtoMessage()
- func (x *UnsetParentGroupFromChannelsRes) ProtoReflect() protoreflect.Message
- func (x *UnsetParentGroupFromChannelsRes) Reset()
- func (x *UnsetParentGroupFromChannelsRes) String() string
Constants ¶
const ( ChannelsService_Authorize_FullMethodName = "/channels.v1.ChannelsService/Authorize" ChannelsService_RemoveClientConnections_FullMethodName = "/channels.v1.ChannelsService/RemoveClientConnections" ChannelsService_UnsetParentGroupFromChannels_FullMethodName = "/channels.v1.ChannelsService/UnsetParentGroupFromChannels" ChannelsService_RetrieveEntity_FullMethodName = "/channels.v1.ChannelsService/RetrieveEntity" )
Variables ¶
var ChannelsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "channels.v1.ChannelsService", HandlerType: (*ChannelsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Authorize", Handler: _ChannelsService_Authorize_Handler, }, { MethodName: "RemoveClientConnections", Handler: _ChannelsService_RemoveClientConnections_Handler, }, { MethodName: "UnsetParentGroupFromChannels", Handler: _ChannelsService_UnsetParentGroupFromChannels_Handler, }, { MethodName: "RetrieveEntity", Handler: _ChannelsService_RetrieveEntity_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "channels/v1/channels.proto", }
ChannelsService_ServiceDesc is the grpc.ServiceDesc for ChannelsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_channels_v1_channels_proto protoreflect.FileDescriptor
Functions ¶
func RegisterChannelsServiceServer ¶
func RegisterChannelsServiceServer(s grpc.ServiceRegistrar, srv ChannelsServiceServer)
Types ¶
type AuthzReq ¶
type AuthzReq struct { DomainId string `protobuf:"bytes,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientType string `protobuf:"bytes,3,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"` ChannelId string `protobuf:"bytes,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` Type uint32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*AuthzReq) Descriptor
deprecated
func (*AuthzReq) GetChannelId ¶
func (*AuthzReq) GetClientId ¶
func (*AuthzReq) GetClientType ¶
func (*AuthzReq) GetDomainId ¶
func (*AuthzReq) ProtoMessage ¶
func (*AuthzReq) ProtoMessage()
func (*AuthzReq) ProtoReflect ¶
func (x *AuthzReq) ProtoReflect() protoreflect.Message
type AuthzRes ¶
type AuthzRes struct { Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` // contains filtered or unexported fields }
func (*AuthzRes) Descriptor
deprecated
func (*AuthzRes) GetAuthorized ¶
func (*AuthzRes) ProtoMessage ¶
func (*AuthzRes) ProtoMessage()
func (*AuthzRes) ProtoReflect ¶
func (x *AuthzRes) ProtoReflect() protoreflect.Message
type ChannelsServiceClient ¶
type ChannelsServiceClient interface { Authorize(ctx context.Context, in *AuthzReq, opts ...grpc.CallOption) (*AuthzRes, error) RemoveClientConnections(ctx context.Context, in *RemoveClientConnectionsReq, opts ...grpc.CallOption) (*RemoveClientConnectionsRes, error) UnsetParentGroupFromChannels(ctx context.Context, in *UnsetParentGroupFromChannelsReq, opts ...grpc.CallOption) (*UnsetParentGroupFromChannelsRes, error) RetrieveEntity(ctx context.Context, in *v1.RetrieveEntityReq, opts ...grpc.CallOption) (*v1.RetrieveEntityRes, error) }
ChannelsServiceClient is the client API for ChannelsService 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 NewChannelsServiceClient ¶
func NewChannelsServiceClient(cc grpc.ClientConnInterface) ChannelsServiceClient
type ChannelsServiceServer ¶
type ChannelsServiceServer interface { Authorize(context.Context, *AuthzReq) (*AuthzRes, error) RemoveClientConnections(context.Context, *RemoveClientConnectionsReq) (*RemoveClientConnectionsRes, error) UnsetParentGroupFromChannels(context.Context, *UnsetParentGroupFromChannelsReq) (*UnsetParentGroupFromChannelsRes, error) RetrieveEntity(context.Context, *v1.RetrieveEntityReq) (*v1.RetrieveEntityRes, error) // contains filtered or unexported methods }
ChannelsServiceServer is the server API for ChannelsService service. All implementations must embed UnimplementedChannelsServiceServer for forward compatibility.
type RemoveClientConnectionsReq ¶
type RemoveClientConnectionsReq struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveClientConnectionsReq) Descriptor
deprecated
func (*RemoveClientConnectionsReq) Descriptor() ([]byte, []int)
Deprecated: Use RemoveClientConnectionsReq.ProtoReflect.Descriptor instead.
func (*RemoveClientConnectionsReq) GetClientId ¶
func (x *RemoveClientConnectionsReq) GetClientId() string
func (*RemoveClientConnectionsReq) ProtoMessage ¶
func (*RemoveClientConnectionsReq) ProtoMessage()
func (*RemoveClientConnectionsReq) ProtoReflect ¶
func (x *RemoveClientConnectionsReq) ProtoReflect() protoreflect.Message
func (*RemoveClientConnectionsReq) Reset ¶
func (x *RemoveClientConnectionsReq) Reset()
func (*RemoveClientConnectionsReq) String ¶
func (x *RemoveClientConnectionsReq) String() string
type RemoveClientConnectionsRes ¶
type RemoveClientConnectionsRes struct {
// contains filtered or unexported fields
}
func (*RemoveClientConnectionsRes) Descriptor
deprecated
func (*RemoveClientConnectionsRes) Descriptor() ([]byte, []int)
Deprecated: Use RemoveClientConnectionsRes.ProtoReflect.Descriptor instead.
func (*RemoveClientConnectionsRes) ProtoMessage ¶
func (*RemoveClientConnectionsRes) ProtoMessage()
func (*RemoveClientConnectionsRes) ProtoReflect ¶
func (x *RemoveClientConnectionsRes) ProtoReflect() protoreflect.Message
func (*RemoveClientConnectionsRes) Reset ¶
func (x *RemoveClientConnectionsRes) Reset()
func (*RemoveClientConnectionsRes) String ¶
func (x *RemoveClientConnectionsRes) String() string
type UnimplementedChannelsServiceServer ¶
type UnimplementedChannelsServiceServer struct{}
UnimplementedChannelsServiceServer must 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.
func (UnimplementedChannelsServiceServer) RemoveClientConnections ¶
func (UnimplementedChannelsServiceServer) RemoveClientConnections(context.Context, *RemoveClientConnectionsReq) (*RemoveClientConnectionsRes, error)
func (UnimplementedChannelsServiceServer) RetrieveEntity ¶
func (UnimplementedChannelsServiceServer) RetrieveEntity(context.Context, *v1.RetrieveEntityReq) (*v1.RetrieveEntityRes, error)
func (UnimplementedChannelsServiceServer) UnsetParentGroupFromChannels ¶
func (UnimplementedChannelsServiceServer) UnsetParentGroupFromChannels(context.Context, *UnsetParentGroupFromChannelsReq) (*UnsetParentGroupFromChannelsRes, error)
type UnsafeChannelsServiceServer ¶
type UnsafeChannelsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeChannelsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelsServiceServer will result in compilation errors.
type UnsetParentGroupFromChannelsReq ¶
type UnsetParentGroupFromChannelsReq struct { ParentGroupId string `protobuf:"bytes,1,opt,name=parent_group_id,json=parentGroupId,proto3" json:"parent_group_id,omitempty"` // contains filtered or unexported fields }
func (*UnsetParentGroupFromChannelsReq) Descriptor
deprecated
func (*UnsetParentGroupFromChannelsReq) Descriptor() ([]byte, []int)
Deprecated: Use UnsetParentGroupFromChannelsReq.ProtoReflect.Descriptor instead.
func (*UnsetParentGroupFromChannelsReq) GetParentGroupId ¶
func (x *UnsetParentGroupFromChannelsReq) GetParentGroupId() string
func (*UnsetParentGroupFromChannelsReq) ProtoMessage ¶
func (*UnsetParentGroupFromChannelsReq) ProtoMessage()
func (*UnsetParentGroupFromChannelsReq) ProtoReflect ¶
func (x *UnsetParentGroupFromChannelsReq) ProtoReflect() protoreflect.Message
func (*UnsetParentGroupFromChannelsReq) Reset ¶
func (x *UnsetParentGroupFromChannelsReq) Reset()
func (*UnsetParentGroupFromChannelsReq) String ¶
func (x *UnsetParentGroupFromChannelsReq) String() string
type UnsetParentGroupFromChannelsRes ¶
type UnsetParentGroupFromChannelsRes struct {
// contains filtered or unexported fields
}
func (*UnsetParentGroupFromChannelsRes) Descriptor
deprecated
func (*UnsetParentGroupFromChannelsRes) Descriptor() ([]byte, []int)
Deprecated: Use UnsetParentGroupFromChannelsRes.ProtoReflect.Descriptor instead.
func (*UnsetParentGroupFromChannelsRes) ProtoMessage ¶
func (*UnsetParentGroupFromChannelsRes) ProtoMessage()
func (*UnsetParentGroupFromChannelsRes) ProtoReflect ¶
func (x *UnsetParentGroupFromChannelsRes) ProtoReflect() protoreflect.Message
func (*UnsetParentGroupFromChannelsRes) Reset ¶
func (x *UnsetParentGroupFromChannelsRes) Reset()
func (*UnsetParentGroupFromChannelsRes) String ¶
func (x *UnsetParentGroupFromChannelsRes) String() string