Documentation ¶
Index ¶
- Variables
- func RegisterAuth1Server(s grpc.ServiceRegistrar, srv Auth1Server)
- type Auth1Client
- type Auth1Server
- type SiteJwtSecretReply
- func (*SiteJwtSecretReply) Descriptor() ([]byte, []int)deprecated
- func (x *SiteJwtSecretReply) GetJwtSecret() []byte
- func (*SiteJwtSecretReply) ProtoMessage()
- func (x *SiteJwtSecretReply) ProtoReflect() protoreflect.Message
- func (x *SiteJwtSecretReply) Reset()
- func (x *SiteJwtSecretReply) String() string
- type SiteJwtSecretRequest
- func (*SiteJwtSecretRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SiteJwtSecretRequest) GetSiteKey() string
- func (*SiteJwtSecretRequest) ProtoMessage()
- func (x *SiteJwtSecretRequest) ProtoReflect() protoreflect.Message
- func (x *SiteJwtSecretRequest) Reset()
- func (x *SiteJwtSecretRequest) String() string
- type UnimplementedAuth1Server
- type UnsafeAuth1Server
Constants ¶
This section is empty.
Variables ¶
var Auth1_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rpcapi.Auth1", HandlerType: (*Auth1Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSiteJwtSecret", Handler: _Auth1_GetSiteJwtSecret_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rpcapi/auth1.proto", }
Auth1_ServiceDesc is the grpc.ServiceDesc for Auth1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_rpcapi_auth1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuth1Server ¶
func RegisterAuth1Server(s grpc.ServiceRegistrar, srv Auth1Server)
Types ¶
type Auth1Client ¶
type Auth1Client interface {
GetSiteJwtSecret(ctx context.Context, in *SiteJwtSecretRequest, opts ...grpc.CallOption) (*SiteJwtSecretReply, error)
}
Auth1Client is the client API for Auth1 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 NewAuth1Client ¶
func NewAuth1Client(cc grpc.ClientConnInterface) Auth1Client
type Auth1Server ¶
type Auth1Server interface { GetSiteJwtSecret(context.Context, *SiteJwtSecretRequest) (*SiteJwtSecretReply, error) // contains filtered or unexported methods }
Auth1Server is the server API for Auth1 service. All implementations must embed UnimplementedAuth1Server for forward compatibility
type SiteJwtSecretReply ¶
type SiteJwtSecretReply struct { JwtSecret []byte `protobuf:"bytes,1,opt,name=jwtSecret,proto3" json:"jwtSecret,omitempty"` // contains filtered or unexported fields }
func (*SiteJwtSecretReply) Descriptor
deprecated
func (*SiteJwtSecretReply) Descriptor() ([]byte, []int)
Deprecated: Use SiteJwtSecretReply.ProtoReflect.Descriptor instead.
func (*SiteJwtSecretReply) GetJwtSecret ¶
func (x *SiteJwtSecretReply) GetJwtSecret() []byte
func (*SiteJwtSecretReply) ProtoMessage ¶
func (*SiteJwtSecretReply) ProtoMessage()
func (*SiteJwtSecretReply) ProtoReflect ¶
func (x *SiteJwtSecretReply) ProtoReflect() protoreflect.Message
func (*SiteJwtSecretReply) Reset ¶
func (x *SiteJwtSecretReply) Reset()
func (*SiteJwtSecretReply) String ¶
func (x *SiteJwtSecretReply) String() string
type SiteJwtSecretRequest ¶
type SiteJwtSecretRequest struct { SiteKey string `protobuf:"bytes,1,opt,name=siteKey,proto3" json:"siteKey,omitempty"` // contains filtered or unexported fields }
func (*SiteJwtSecretRequest) Descriptor
deprecated
func (*SiteJwtSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use SiteJwtSecretRequest.ProtoReflect.Descriptor instead.
func (*SiteJwtSecretRequest) GetSiteKey ¶
func (x *SiteJwtSecretRequest) GetSiteKey() string
func (*SiteJwtSecretRequest) ProtoMessage ¶
func (*SiteJwtSecretRequest) ProtoMessage()
func (*SiteJwtSecretRequest) ProtoReflect ¶
func (x *SiteJwtSecretRequest) ProtoReflect() protoreflect.Message
func (*SiteJwtSecretRequest) Reset ¶
func (x *SiteJwtSecretRequest) Reset()
func (*SiteJwtSecretRequest) String ¶
func (x *SiteJwtSecretRequest) String() string
type UnimplementedAuth1Server ¶
type UnimplementedAuth1Server struct { }
UnimplementedAuth1Server must be embedded to have forward compatible implementations.
func (UnimplementedAuth1Server) GetSiteJwtSecret ¶
func (UnimplementedAuth1Server) GetSiteJwtSecret(context.Context, *SiteJwtSecretRequest) (*SiteJwtSecretReply, error)
type UnsafeAuth1Server ¶
type UnsafeAuth1Server interface {
// contains filtered or unexported methods
}
UnsafeAuth1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to Auth1Server will result in compilation errors.