v1grpc

package
v1.3.0-20221102152713-... 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 (
	CentrifugoProxy_Connect_FullMethodName   = "/centrifugal.centrifugo.proxy.CentrifugoProxy/Connect"
	CentrifugoProxy_Refresh_FullMethodName   = "/centrifugal.centrifugo.proxy.CentrifugoProxy/Refresh"
	CentrifugoProxy_Subscribe_FullMethodName = "/centrifugal.centrifugo.proxy.CentrifugoProxy/Subscribe"
	CentrifugoProxy_Publish_FullMethodName   = "/centrifugal.centrifugo.proxy.CentrifugoProxy/Publish"
	CentrifugoProxy_RPC_FullMethodName       = "/centrifugal.centrifugo.proxy.CentrifugoProxy/RPC"
)

Variables

View Source
var CentrifugoProxy_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "centrifugal.centrifugo.proxy.CentrifugoProxy",
	HandlerType: (*CentrifugoProxyServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Connect",
			Handler:    _CentrifugoProxy_Connect_Handler,
		},
		{
			MethodName: "Refresh",
			Handler:    _CentrifugoProxy_Refresh_Handler,
		},
		{
			MethodName: "Subscribe",
			Handler:    _CentrifugoProxy_Subscribe_Handler,
		},
		{
			MethodName: "Publish",
			Handler:    _CentrifugoProxy_Publish_Handler,
		},
		{
			MethodName: "RPC",
			Handler:    _CentrifugoProxy_RPC_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "centrifugo/proxy/v1/proxy.proto",
}

CentrifugoProxy_ServiceDesc is the grpc.ServiceDesc for CentrifugoProxy service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterCentrifugoProxyServer

func RegisterCentrifugoProxyServer(s grpc.ServiceRegistrar, srv CentrifugoProxyServer)

Types

type CentrifugoProxyClient

type CentrifugoProxyClient interface {
	Connect(ctx context.Context, in *v1.ConnectRequest, opts ...grpc.CallOption) (*v1.ConnectResponse, error)
	Refresh(ctx context.Context, in *v1.RefreshRequest, opts ...grpc.CallOption) (*v1.RefreshResponse, error)
	Subscribe(ctx context.Context, in *v1.SubscribeRequest, opts ...grpc.CallOption) (*v1.SubscribeResponse, error)
	Publish(ctx context.Context, in *v1.PublishRequest, opts ...grpc.CallOption) (*v1.PublishResponse, error)
	RPC(ctx context.Context, in *v1.RPCRequest, opts ...grpc.CallOption) (*v1.RPCResponse, error)
}

CentrifugoProxyClient is the client API for CentrifugoProxy 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 NewCentrifugoProxyClient

func NewCentrifugoProxyClient(cc grpc.ClientConnInterface) CentrifugoProxyClient

type CentrifugoProxyServer

CentrifugoProxyServer is the server API for CentrifugoProxy service. All implementations should embed UnimplementedCentrifugoProxyServer for forward compatibility

type UnimplementedCentrifugoProxyServer

type UnimplementedCentrifugoProxyServer struct {
}

UnimplementedCentrifugoProxyServer should be embedded to have forward compatible implementations.

func (UnimplementedCentrifugoProxyServer) Connect

func (UnimplementedCentrifugoProxyServer) Publish

func (UnimplementedCentrifugoProxyServer) RPC

func (UnimplementedCentrifugoProxyServer) Refresh

func (UnimplementedCentrifugoProxyServer) Subscribe

type UnsafeCentrifugoProxyServer

type UnsafeCentrifugoProxyServer interface {
	// contains filtered or unexported methods
}

UnsafeCentrifugoProxyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CentrifugoProxyServer will result in compilation errors.

Jump to

Keyboard shortcuts

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