generated

package
v0.0.0-...-f2f1368 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_engine_proto protoreflect.FileDescriptor

Functions

func RegisterAPIServiceServer

func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)

func RegisterAuthServiceServer

func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer)

func RegisterEngineServiceServer

func RegisterEngineServiceServer(s *grpc.Server, srv EngineServiceServer)

Types

type APIServiceClient

type APIServiceClient interface {
	SayHello(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Message, error)
}

APIServiceClient is the client API for APIService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIServiceClient

func NewAPIServiceClient(cc grpc.ClientConnInterface) APIServiceClient

type APIServiceServer

type APIServiceServer interface {
	SayHello(context.Context, *Message) (*Message, error)
}

APIServiceServer is the server API for APIService service.

type AccessTokenRequest

type AccessTokenRequest struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessTokenRequest) Descriptor deprecated

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

Deprecated: Use AccessTokenRequest.ProtoReflect.Descriptor instead.

func (*AccessTokenRequest) GetRefreshToken

func (x *AccessTokenRequest) GetRefreshToken() string

func (*AccessTokenRequest) ProtoMessage

func (*AccessTokenRequest) ProtoMessage()

func (*AccessTokenRequest) ProtoReflect

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

func (*AccessTokenRequest) Reset

func (x *AccessTokenRequest) Reset()

func (*AccessTokenRequest) String

func (x *AccessTokenRequest) String() string

func (*AccessTokenRequest) Validate

func (this *AccessTokenRequest) Validate() error

type AuthServiceClient

type AuthServiceClient interface {
	Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PingResponse, error)
	GetSignUpToken(ctx context.Context, in *UserTokenRequest, opts ...grpc.CallOption) (*UserTokenResponse, error)
	GetSignInToken(ctx context.Context, in *UserTokenRequest, opts ...grpc.CallOption) (*UserTokenResponse, error)
	RefreshAccessToken(ctx context.Context, in *AccessTokenRequest, opts ...grpc.CallOption) (*UserTokenResponse, 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 {
	Ping(context.Context, *Empty) (*PingResponse, error)
	GetSignUpToken(context.Context, *UserTokenRequest) (*UserTokenResponse, error)
	GetSignInToken(context.Context, *UserTokenRequest) (*UserTokenResponse, error)
	RefreshAccessToken(context.Context, *AccessTokenRequest) (*UserTokenResponse, error)
}

AuthServiceServer is the server API for AuthService service.

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

func (*Empty) Validate

func (this *Empty) Validate() error

type EngineServiceClient

type EngineServiceClient interface {
	SayHello(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Message, error)
}

EngineServiceClient is the client API for EngineService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type EngineServiceServer

type EngineServiceServer interface {
	SayHello(context.Context, *Message) (*Message, error)
}

EngineServiceServer is the server API for EngineService service.

type Message

type Message struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetContent

func (x *Message) GetContent() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

func (*Message) Validate

func (this *Message) Validate() error

type PingResponse

type PingResponse struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) GetContent

func (x *PingResponse) GetContent() string

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

func (*PingResponse) Validate

func (this *PingResponse) Validate() error

type UnimplementedAPIServiceServer

type UnimplementedAPIServiceServer struct {
}

UnimplementedAPIServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServiceServer) SayHello

type UnimplementedAuthServiceServer

type UnimplementedAuthServiceServer struct {
}

UnimplementedAuthServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthServiceServer) GetSignInToken

func (*UnimplementedAuthServiceServer) GetSignUpToken

func (*UnimplementedAuthServiceServer) Ping

func (*UnimplementedAuthServiceServer) RefreshAccessToken

type UnimplementedEngineServiceServer

type UnimplementedEngineServiceServer struct {
}

UnimplementedEngineServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEngineServiceServer) SayHello

type UserTokenRequest

type UserTokenRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*UserTokenRequest) Descriptor deprecated

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

Deprecated: Use UserTokenRequest.ProtoReflect.Descriptor instead.

func (*UserTokenRequest) GetPassword

func (x *UserTokenRequest) GetPassword() string

func (*UserTokenRequest) GetUsername

func (x *UserTokenRequest) GetUsername() string

func (*UserTokenRequest) ProtoMessage

func (*UserTokenRequest) ProtoMessage()

func (*UserTokenRequest) ProtoReflect

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

func (*UserTokenRequest) Reset

func (x *UserTokenRequest) Reset()

func (*UserTokenRequest) String

func (x *UserTokenRequest) String() string

func (*UserTokenRequest) Validate

func (this *UserTokenRequest) Validate() error

type UserTokenResponse

type UserTokenResponse struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*UserTokenResponse) Descriptor deprecated

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

Deprecated: Use UserTokenResponse.ProtoReflect.Descriptor instead.

func (*UserTokenResponse) GetAccessToken

func (x *UserTokenResponse) GetAccessToken() string

func (*UserTokenResponse) GetRefreshToken

func (x *UserTokenResponse) GetRefreshToken() string

func (*UserTokenResponse) ProtoMessage

func (*UserTokenResponse) ProtoMessage()

func (*UserTokenResponse) ProtoReflect

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

func (*UserTokenResponse) Reset

func (x *UserTokenResponse) Reset()

func (*UserTokenResponse) String

func (x *UserTokenResponse) String() string

func (*UserTokenResponse) Validate

func (this *UserTokenResponse) Validate() error

Jump to

Keyboard shortcuts

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