Versions in this module Expand all Collapse all v0 v0.0.1 Jun 13, 2024 Changes in this version + const AccountService_CreateUser_FullMethodName + const AccountService_ListUsers_FullMethodName + const AccountService_LoginUser_FullMethodName + const AccountService_LogoutUser_FullMethodName + const AccountService_RefreshToken_FullMethodName + var AccountService_ServiceDesc = grpc.ServiceDesc + var File_public_account_v1_account_service_proto protoreflect.FileDescriptor + var File_public_account_v1_organization_proto protoreflect.FileDescriptor + var File_public_account_v1_user_proto protoreflect.FileDescriptor + func RegisterAccountServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterAccountServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountServiceClient) error + func RegisterAccountServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterAccountServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountServiceServer) error + func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer) + type AccountServiceClient interface + CreateUser func(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) + ListUsers func(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) + LoginUser func(ctx context.Context, in *LoginUserRequest, opts ...grpc.CallOption) (*LoginUserResponse, error) + LogoutUser func(ctx context.Context, in *LogoutUserRequest, opts ...grpc.CallOption) (*LogoutUserResponse, error) + RefreshToken func(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error) + func NewAccountServiceClient(cc grpc.ClientConnInterface) AccountServiceClient + type AccountServiceServer interface + CreateUser func(context.Context, *CreateUserRequest) (*CreateUserResponse, error) + ListUsers func(context.Context, *ListUsersRequest) (*ListUsersResponse, error) + LoginUser func(context.Context, *LoginUserRequest) (*LoginUserResponse, error) + LogoutUser func(context.Context, *LogoutUserRequest) (*LogoutUserResponse, error) + RefreshToken func(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error) + type CreateUserRequest struct + Parent string + User *User + func (*CreateUserRequest) Descriptor() ([]byte, []int) + func (*CreateUserRequest) ProtoMessage() + func (x *CreateUserRequest) GetParent() string + func (x *CreateUserRequest) GetUser() *User + func (x *CreateUserRequest) ProtoReflect() protoreflect.Message + func (x *CreateUserRequest) Reset() + func (x *CreateUserRequest) String() string + type CreateUserResponse struct + User *User + func (*CreateUserResponse) Descriptor() ([]byte, []int) + func (*CreateUserResponse) ProtoMessage() + func (x *CreateUserResponse) GetUser() *User + func (x *CreateUserResponse) ProtoReflect() protoreflect.Message + func (x *CreateUserResponse) Reset() + func (x *CreateUserResponse) String() string + type ListUsersRequest struct + Parent string + func (*ListUsersRequest) Descriptor() ([]byte, []int) + func (*ListUsersRequest) ProtoMessage() + func (x *ListUsersRequest) GetParent() string + func (x *ListUsersRequest) ProtoReflect() protoreflect.Message + func (x *ListUsersRequest) Reset() + func (x *ListUsersRequest) String() string + type ListUsersResponse struct + Users []*User + func (*ListUsersResponse) Descriptor() ([]byte, []int) + func (*ListUsersResponse) ProtoMessage() + func (x *ListUsersResponse) GetUsers() []*User + func (x *ListUsersResponse) ProtoReflect() protoreflect.Message + func (x *ListUsersResponse) Reset() + func (x *ListUsersResponse) String() string + type LoginUserRequest struct + Login isLoginUserRequest_Login + Password string + func (*LoginUserRequest) Descriptor() ([]byte, []int) + func (*LoginUserRequest) ProtoMessage() + func (m *LoginUserRequest) GetLogin() isLoginUserRequest_Login + func (x *LoginUserRequest) GetEmail() string + func (x *LoginUserRequest) GetPassword() string + func (x *LoginUserRequest) GetUsername() string + func (x *LoginUserRequest) ProtoReflect() protoreflect.Message + func (x *LoginUserRequest) Reset() + func (x *LoginUserRequest) String() string + type LoginUserRequest_Email struct + Email string + type LoginUserRequest_Username struct + Username string + type LoginUserResponse struct + RefreshToken string + Token string + User *User + func (*LoginUserResponse) Descriptor() ([]byte, []int) + func (*LoginUserResponse) ProtoMessage() + func (x *LoginUserResponse) GetRefreshToken() string + func (x *LoginUserResponse) GetToken() string + func (x *LoginUserResponse) GetUser() *User + func (x *LoginUserResponse) ProtoReflect() protoreflect.Message + func (x *LoginUserResponse) Reset() + func (x *LoginUserResponse) String() string + type LogoutUserRequest struct + func (*LogoutUserRequest) Descriptor() ([]byte, []int) + func (*LogoutUserRequest) ProtoMessage() + func (x *LogoutUserRequest) ProtoReflect() protoreflect.Message + func (x *LogoutUserRequest) Reset() + func (x *LogoutUserRequest) String() string + type LogoutUserResponse struct + func (*LogoutUserResponse) Descriptor() ([]byte, []int) + func (*LogoutUserResponse) ProtoMessage() + func (x *LogoutUserResponse) ProtoReflect() protoreflect.Message + func (x *LogoutUserResponse) Reset() + func (x *LogoutUserResponse) String() string + type Organization struct + CreateTime *timestamppb.Timestamp + LegalName string + Name string + UpdateTime *timestamppb.Timestamp + func (*Organization) Descriptor() ([]byte, []int) + func (*Organization) ProtoMessage() + func (x *Organization) GetCreateTime() *timestamppb.Timestamp + func (x *Organization) GetLegalName() string + func (x *Organization) GetName() string + func (x *Organization) GetUpdateTime() *timestamppb.Timestamp + func (x *Organization) ProtoReflect() protoreflect.Message + func (x *Organization) Reset() + func (x *Organization) String() string + type RefreshTokenRequest struct + func (*RefreshTokenRequest) Descriptor() ([]byte, []int) + func (*RefreshTokenRequest) ProtoMessage() + func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message + func (x *RefreshTokenRequest) Reset() + func (x *RefreshTokenRequest) String() string + type RefreshTokenResponse struct + func (*RefreshTokenResponse) Descriptor() ([]byte, []int) + func (*RefreshTokenResponse) ProtoMessage() + func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message + func (x *RefreshTokenResponse) Reset() + func (x *RefreshTokenResponse) String() string + type UnimplementedAccountServiceServer struct + func (UnimplementedAccountServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) + func (UnimplementedAccountServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) + func (UnimplementedAccountServiceServer) LoginUser(context.Context, *LoginUserRequest) (*LoginUserResponse, error) + func (UnimplementedAccountServiceServer) LogoutUser(context.Context, *LogoutUserRequest) (*LogoutUserResponse, error) + func (UnimplementedAccountServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error) + type UnsafeAccountServiceServer interface + type User struct + CreateTime *timestamppb.Timestamp + DisplayName string + Email string + Name string + Password string + UpdateTime *timestamppb.Timestamp + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (x *User) GetCreateTime() *timestamppb.Timestamp + func (x *User) GetDisplayName() string + func (x *User) GetEmail() string + func (x *User) GetName() string + func (x *User) GetPassword() string + func (x *User) GetUpdateTime() *timestamppb.Timestamp + func (x *User) ProtoReflect() protoreflect.Message + func (x *User) Reset() + func (x *User) String() string