protos

package
v0.0.0-...-8d07d21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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.

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 (*CheckUsernameAvailabilityRequest) Reset

func (*CheckUsernameAvailabilityRequest) 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 (*CheckUsernameAvailabilityResponse) Reset

func (*CheckUsernameAvailabilityResponse) String

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type UnimplementedAuthServiceServer

type UnimplementedAuthServiceServer struct {
}

UnimplementedAuthServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthServiceServer) CheckUserState

Jump to

Keyboard shortcuts

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