Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCentrifugoProxyServer(s grpc.ServiceRegistrar, srv CentrifugoProxyServer)
- type CentrifugoProxyClient
- type CentrifugoProxyServer
- type UnimplementedCentrifugoProxyServer
- func (UnimplementedCentrifugoProxyServer) Connect(context.Context, *v1.ConnectRequest) (*v1.ConnectResponse, error)
- func (UnimplementedCentrifugoProxyServer) Publish(context.Context, *v1.PublishRequest) (*v1.PublishResponse, error)
- func (UnimplementedCentrifugoProxyServer) RPC(context.Context, *v1.RPCRequest) (*v1.RPCResponse, error)
- func (UnimplementedCentrifugoProxyServer) Refresh(context.Context, *v1.RefreshRequest) (*v1.RefreshResponse, error)
- func (UnimplementedCentrifugoProxyServer) Subscribe(context.Context, *v1.SubscribeRequest) (*v1.SubscribeResponse, error)
- type UnsafeCentrifugoProxyServer
Constants ¶
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 ¶
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 ¶
type CentrifugoProxyServer interface { Connect(context.Context, *v1.ConnectRequest) (*v1.ConnectResponse, error) Refresh(context.Context, *v1.RefreshRequest) (*v1.RefreshResponse, error) Subscribe(context.Context, *v1.SubscribeRequest) (*v1.SubscribeResponse, error) Publish(context.Context, *v1.PublishRequest) (*v1.PublishResponse, error) RPC(context.Context, *v1.RPCRequest) (*v1.RPCResponse, error) }
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) Connect(context.Context, *v1.ConnectRequest) (*v1.ConnectResponse, error)
func (UnimplementedCentrifugoProxyServer) Publish ¶
func (UnimplementedCentrifugoProxyServer) Publish(context.Context, *v1.PublishRequest) (*v1.PublishResponse, error)
func (UnimplementedCentrifugoProxyServer) RPC ¶
func (UnimplementedCentrifugoProxyServer) RPC(context.Context, *v1.RPCRequest) (*v1.RPCResponse, error)
func (UnimplementedCentrifugoProxyServer) Refresh ¶
func (UnimplementedCentrifugoProxyServer) Refresh(context.Context, *v1.RefreshRequest) (*v1.RefreshResponse, error)
func (UnimplementedCentrifugoProxyServer) Subscribe ¶
func (UnimplementedCentrifugoProxyServer) Subscribe(context.Context, *v1.SubscribeRequest) (*v1.SubscribeResponse, error)
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.