Documentation
¶
Index ¶
- Variables
- func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer)
- type AuthServiceClient
- type AuthServiceServer
- type CheckStateResponse
- func (*CheckStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckStateResponse) GetInitialised() bool
- func (*CheckStateResponse) ProtoMessage()
- func (x *CheckStateResponse) ProtoReflect() protoreflect.Message
- func (x *CheckStateResponse) Reset()
- func (x *CheckStateResponse) String() string
- type CheckUsernameAvailabilityRequest
- func (*CheckUsernameAvailabilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUsernameAvailabilityRequest) GetUsername() string
- func (*CheckUsernameAvailabilityRequest) ProtoMessage()
- func (x *CheckUsernameAvailabilityRequest) ProtoReflect() protoreflect.Message
- func (x *CheckUsernameAvailabilityRequest) Reset()
- func (x *CheckUsernameAvailabilityRequest) String() string
- type CheckUsernameAvailabilityResponse
- func (*CheckUsernameAvailabilityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckUsernameAvailabilityResponse) GetAvailable() bool
- func (*CheckUsernameAvailabilityResponse) ProtoMessage()
- func (x *CheckUsernameAvailabilityResponse) ProtoReflect() protoreflect.Message
- func (x *CheckUsernameAvailabilityResponse) Reset()
- func (x *CheckUsernameAvailabilityResponse) String() string
- type Empty
- type UnimplementedAuthServiceServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_auth_proto protoreflect.FileDescriptor
View Source
var File_utils_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer)
Types ¶
type AuthServiceClient ¶
type AuthServiceClient interface { CheckUsernameAvailability(ctx context.Context, in *CheckUsernameAvailabilityRequest, opts ...grpc.CallOption) (*CheckUsernameAvailabilityResponse, error) CheckUserState(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CheckStateResponse, error) }
AuthServiceClient is the client API for AuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface { CheckUsernameAvailability(context.Context, *CheckUsernameAvailabilityRequest) (*CheckUsernameAvailabilityResponse, error) CheckUserState(context.Context, *Empty) (*CheckStateResponse, error) }
AuthServiceServer is the server API for AuthService service.
type CheckStateResponse ¶
type CheckStateResponse struct { Initialised bool `protobuf:"varint,1,opt,name=initialised,proto3" json:"initialised,omitempty"` // contains filtered or unexported fields }
func (*CheckStateResponse) Descriptor
deprecated
func (*CheckStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckStateResponse.ProtoReflect.Descriptor instead.
func (*CheckStateResponse) GetInitialised ¶
func (x *CheckStateResponse) GetInitialised() bool
func (*CheckStateResponse) ProtoMessage ¶
func (*CheckStateResponse) ProtoMessage()
func (*CheckStateResponse) ProtoReflect ¶
func (x *CheckStateResponse) ProtoReflect() protoreflect.Message
func (*CheckStateResponse) Reset ¶
func (x *CheckStateResponse) Reset()
func (*CheckStateResponse) String ¶
func (x *CheckStateResponse) String() string
type CheckUsernameAvailabilityRequest ¶
type CheckUsernameAvailabilityRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*CheckUsernameAvailabilityRequest) Descriptor
deprecated
func (*CheckUsernameAvailabilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckUsernameAvailabilityRequest.ProtoReflect.Descriptor instead.
func (*CheckUsernameAvailabilityRequest) GetUsername ¶
func (x *CheckUsernameAvailabilityRequest) GetUsername() string
func (*CheckUsernameAvailabilityRequest) ProtoMessage ¶
func (*CheckUsernameAvailabilityRequest) ProtoMessage()
func (*CheckUsernameAvailabilityRequest) ProtoReflect ¶
func (x *CheckUsernameAvailabilityRequest) ProtoReflect() protoreflect.Message
func (*CheckUsernameAvailabilityRequest) Reset ¶
func (x *CheckUsernameAvailabilityRequest) Reset()
func (*CheckUsernameAvailabilityRequest) String ¶
func (x *CheckUsernameAvailabilityRequest) String() string
type CheckUsernameAvailabilityResponse ¶
type CheckUsernameAvailabilityResponse struct { Available bool `protobuf:"varint,1,opt,name=available,proto3" json:"available,omitempty"` // contains filtered or unexported fields }
func (*CheckUsernameAvailabilityResponse) Descriptor
deprecated
func (*CheckUsernameAvailabilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckUsernameAvailabilityResponse.ProtoReflect.Descriptor instead.
func (*CheckUsernameAvailabilityResponse) GetAvailable ¶
func (x *CheckUsernameAvailabilityResponse) GetAvailable() bool
func (*CheckUsernameAvailabilityResponse) ProtoMessage ¶
func (*CheckUsernameAvailabilityResponse) ProtoMessage()
func (*CheckUsernameAvailabilityResponse) ProtoReflect ¶
func (x *CheckUsernameAvailabilityResponse) ProtoReflect() protoreflect.Message
func (*CheckUsernameAvailabilityResponse) Reset ¶
func (x *CheckUsernameAvailabilityResponse) Reset()
func (*CheckUsernameAvailabilityResponse) String ¶
func (x *CheckUsernameAvailabilityResponse) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthServiceServer) CheckUserState ¶
func (*UnimplementedAuthServiceServer) CheckUserState(context.Context, *Empty) (*CheckStateResponse, error)
func (*UnimplementedAuthServiceServer) CheckUsernameAvailability ¶
func (*UnimplementedAuthServiceServer) CheckUsernameAvailability(context.Context, *CheckUsernameAvailabilityRequest) (*CheckUsernameAvailabilityResponse, error)
Click to show internal directories.
Click to hide internal directories.