Documentation ¶
Index ¶
Constants ¶
const (
ChannelService_InviteZiners_FullMethodName = "/zine.channel.v1.ChannelService/InviteZiners"
)
Variables ¶
var ChannelService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "zine.channel.v1.ChannelService", HandlerType: (*ChannelServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "InviteZiners", Handler: _ChannelService_InviteZiners_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "zine/channel/v1/channel.proto", }
ChannelService_ServiceDesc is the grpc.ServiceDesc for ChannelService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterChannelServiceServer ¶
func RegisterChannelServiceServer(s grpc.ServiceRegistrar, srv ChannelServiceServer)
Types ¶
type ChannelServiceClient ¶
type ChannelServiceClient interface {
InviteZiners(ctx context.Context, in *v1.InviteZinersRequest, opts ...grpc.CallOption) (*v1.InviteZinersResponse, error)
}
ChannelServiceClient is the client API for ChannelService 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 NewChannelServiceClient ¶
func NewChannelServiceClient(cc grpc.ClientConnInterface) ChannelServiceClient
type ChannelServiceServer ¶
type ChannelServiceServer interface {
InviteZiners(context.Context, *v1.InviteZinersRequest) (*v1.InviteZinersResponse, error)
}
ChannelServiceServer is the server API for ChannelService service. All implementations should embed UnimplementedChannelServiceServer for forward compatibility
type UnimplementedChannelServiceServer ¶
type UnimplementedChannelServiceServer struct { }
UnimplementedChannelServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedChannelServiceServer) InviteZiners ¶
func (UnimplementedChannelServiceServer) InviteZiners(context.Context, *v1.InviteZinersRequest) (*v1.InviteZinersResponse, error)
type UnsafeChannelServiceServer ¶
type UnsafeChannelServiceServer interface {
// contains filtered or unexported methods
}
UnsafeChannelServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelServiceServer will result in compilation errors.