Documentation ¶
Index ¶
- Variables
- func RegisterCommonServer(s *grpc.Server, srv CommonServer)
- type CommonClient
- type CommonServer
- type UnimplementedCommonServer
- func (*UnimplementedCommonServer) CheckJwt(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (*UnimplementedCommonServer) CreateJwt(context.Context, *jwt.CreateJwtRequest) (*jwt.CreateJwtResponse, error)
- func (*UnimplementedCommonServer) DeactiveJwt(context.Context, *jwt.DeactiveJwtRequest) (*emptypb.Empty, error)
- func (*UnimplementedCommonServer) PingParty(context.Context, *party.PingPartyRequest) (*party.PingPartyResponse, error)
- func (*UnimplementedCommonServer) RefreshJwt(context.Context, *jwt.RefreshJwtRequest) (*jwt.RefreshJwtResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_sudo_protobuf_mpc_virtual_service_platform_service_common_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCommonServer ¶
func RegisterCommonServer(s *grpc.Server, srv CommonServer)
Types ¶
type CommonClient ¶
type CommonClient interface { CreateJwt(ctx context.Context, in *jwt.CreateJwtRequest, opts ...grpc.CallOption) (*jwt.CreateJwtResponse, error) RefreshJwt(ctx context.Context, in *jwt.RefreshJwtRequest, opts ...grpc.CallOption) (*jwt.RefreshJwtResponse, error) CheckJwt(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) DeactiveJwt(ctx context.Context, in *jwt.DeactiveJwtRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) PingParty(ctx context.Context, in *party.PingPartyRequest, opts ...grpc.CallOption) (*party.PingPartyResponse, error) }
CommonClient is the client API for Common service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCommonClient ¶
func NewCommonClient(cc grpc.ClientConnInterface) CommonClient
type CommonServer ¶
type CommonServer interface { CreateJwt(context.Context, *jwt.CreateJwtRequest) (*jwt.CreateJwtResponse, error) RefreshJwt(context.Context, *jwt.RefreshJwtRequest) (*jwt.RefreshJwtResponse, error) CheckJwt(context.Context, *emptypb.Empty) (*emptypb.Empty, error) DeactiveJwt(context.Context, *jwt.DeactiveJwtRequest) (*emptypb.Empty, error) PingParty(context.Context, *party.PingPartyRequest) (*party.PingPartyResponse, error) }
CommonServer is the server API for Common service.
type UnimplementedCommonServer ¶
type UnimplementedCommonServer struct { }
UnimplementedCommonServer can be embedded to have forward compatible implementations.
func (*UnimplementedCommonServer) CreateJwt ¶
func (*UnimplementedCommonServer) CreateJwt(context.Context, *jwt.CreateJwtRequest) (*jwt.CreateJwtResponse, error)
func (*UnimplementedCommonServer) DeactiveJwt ¶
func (*UnimplementedCommonServer) DeactiveJwt(context.Context, *jwt.DeactiveJwtRequest) (*emptypb.Empty, error)
func (*UnimplementedCommonServer) PingParty ¶
func (*UnimplementedCommonServer) PingParty(context.Context, *party.PingPartyRequest) (*party.PingPartyResponse, error)
func (*UnimplementedCommonServer) RefreshJwt ¶
func (*UnimplementedCommonServer) RefreshJwt(context.Context, *jwt.RefreshJwtRequest) (*jwt.RefreshJwtResponse, error)
Click to show internal directories.
Click to hide internal directories.