channelv1grpc

package
v1.3.0-20230615030136-... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChannelService_InviteZiners_FullMethodName = "/zine.channel.v1.ChannelService/InviteZiners"
)

Variables

View Source
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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL