pb

package
v0.0.0-...-54d1621 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_account_pb_account_proto protoreflect.FileDescriptor

Functions

func RegisterAccountServer

func RegisterAccountServer(s *grpc.Server, srv AccountServer)

Types

type AccountClient

type AccountClient interface {
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	ChangeEmail(ctx context.Context, in *ChangeEmailRequest, opts ...grpc.CallOption) (*ChangeEmailResponse, error)
	ConfirmEmail(ctx context.Context, in *ConfirmEmailRequest, opts ...grpc.CallOption) (*ConfirmEmailResponse, error)
	AuthenticateUser(ctx context.Context, in *AuthenticateUserRequest, opts ...grpc.CallOption) (*AuthenticateUserResponse, error)
}

AccountClient is the client API for Account service.

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

func NewAccountClient

func NewAccountClient(cc grpc.ClientConnInterface) AccountClient

type AccountServer

AccountServer is the server API for Account service.

type AuthenticateUserRequest

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

func (*AuthenticateUserRequest) Descriptor deprecated

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

Deprecated: Use AuthenticateUserRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateUserRequest) GetEmail

func (x *AuthenticateUserRequest) GetEmail() string

func (*AuthenticateUserRequest) GetPassword

func (x *AuthenticateUserRequest) GetPassword() string

func (*AuthenticateUserRequest) ProtoMessage

func (*AuthenticateUserRequest) ProtoMessage()

func (*AuthenticateUserRequest) ProtoReflect

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

func (*AuthenticateUserRequest) Reset

func (x *AuthenticateUserRequest) Reset()

func (*AuthenticateUserRequest) String

func (x *AuthenticateUserRequest) String() string

type AuthenticateUserResponse

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

func (*AuthenticateUserResponse) Descriptor deprecated

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

Deprecated: Use AuthenticateUserResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateUserResponse) GetToken

func (x *AuthenticateUserResponse) GetToken() string

func (*AuthenticateUserResponse) ProtoMessage

func (*AuthenticateUserResponse) ProtoMessage()

func (*AuthenticateUserResponse) ProtoReflect

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

func (*AuthenticateUserResponse) Reset

func (x *AuthenticateUserResponse) Reset()

func (*AuthenticateUserResponse) String

func (x *AuthenticateUserResponse) String() string

type ChangeEmailRequest

type ChangeEmailRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	NewEmail string `protobuf:"bytes,3,opt,name=newEmail,proto3" json:"newEmail,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeEmailRequest) Descriptor deprecated

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

Deprecated: Use ChangeEmailRequest.ProtoReflect.Descriptor instead.

func (*ChangeEmailRequest) GetEmail

func (x *ChangeEmailRequest) GetEmail() string

func (*ChangeEmailRequest) GetNewEmail

func (x *ChangeEmailRequest) GetNewEmail() string

func (*ChangeEmailRequest) GetPassword

func (x *ChangeEmailRequest) GetPassword() string

func (*ChangeEmailRequest) ProtoMessage

func (*ChangeEmailRequest) ProtoMessage()

func (*ChangeEmailRequest) ProtoReflect

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

func (*ChangeEmailRequest) Reset

func (x *ChangeEmailRequest) Reset()

func (*ChangeEmailRequest) String

func (x *ChangeEmailRequest) String() string

type ChangeEmailResponse

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

func (*ChangeEmailResponse) Descriptor deprecated

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

Deprecated: Use ChangeEmailResponse.ProtoReflect.Descriptor instead.

func (*ChangeEmailResponse) ProtoMessage

func (*ChangeEmailResponse) ProtoMessage()

func (*ChangeEmailResponse) ProtoReflect

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

func (*ChangeEmailResponse) Reset

func (x *ChangeEmailResponse) Reset()

func (*ChangeEmailResponse) String

func (x *ChangeEmailResponse) String() string

type ConfirmEmailRequest

type ConfirmEmailRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmEmailRequest) Descriptor deprecated

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

Deprecated: Use ConfirmEmailRequest.ProtoReflect.Descriptor instead.

func (*ConfirmEmailRequest) GetEmail

func (x *ConfirmEmailRequest) GetEmail() string

func (*ConfirmEmailRequest) GetToken

func (x *ConfirmEmailRequest) GetToken() string

func (*ConfirmEmailRequest) ProtoMessage

func (*ConfirmEmailRequest) ProtoMessage()

func (*ConfirmEmailRequest) ProtoReflect

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

func (*ConfirmEmailRequest) Reset

func (x *ConfirmEmailRequest) Reset()

func (*ConfirmEmailRequest) String

func (x *ConfirmEmailRequest) String() string

type ConfirmEmailResponse

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

func (*ConfirmEmailResponse) Descriptor deprecated

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

Deprecated: Use ConfirmEmailResponse.ProtoReflect.Descriptor instead.

func (*ConfirmEmailResponse) ProtoMessage

func (*ConfirmEmailResponse) ProtoMessage()

func (*ConfirmEmailResponse) ProtoReflect

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

func (*ConfirmEmailResponse) Reset

func (x *ConfirmEmailResponse) Reset()

func (*ConfirmEmailResponse) String

func (x *ConfirmEmailResponse) String() string

type CreateUserRequest

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

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetPassword

func (x *CreateUserRequest) GetPassword() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

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

func (*CreateUserResponse) Descriptor deprecated

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

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUserID

func (x *CreateUserResponse) GetUserID() string

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

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

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type DeleteUserRequest

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

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetEmail

func (x *DeleteUserRequest) GetEmail() string

func (*DeleteUserRequest) GetPassword

func (x *DeleteUserRequest) GetPassword() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

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

func (*DeleteUserResponse) Descriptor deprecated

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

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

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type UnimplementedAccountServer

type UnimplementedAccountServer struct {
}

UnimplementedAccountServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountServer) AuthenticateUser

func (*UnimplementedAccountServer) ChangeEmail

func (*UnimplementedAccountServer) ConfirmEmail

func (*UnimplementedAccountServer) CreateUser

func (*UnimplementedAccountServer) DeleteUser

Jump to

Keyboard shortcuts

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