Documentation ¶
Index ¶
- type AccountService
- func (s *AccountService) ChangeAPIKeyName(ctx context.Context, req *proto.ChangeAPIKeyNameRequest) (*proto.ChangeAPIKeyNameResponse, error)
- func (s *AccountService) ChangeAccountRole(ctx context.Context, req *accountproto.ChangeAccountRoleRequest) (*accountproto.ChangeAccountRoleResponse, error)
- func (s *AccountService) ConvertAccount(ctx context.Context, req *accountproto.ConvertAccountRequest) (*accountproto.ConvertAccountResponse, error)
- func (s *AccountService) CreateAPIKey(ctx context.Context, req *proto.CreateAPIKeyRequest) (*proto.CreateAPIKeyResponse, error)
- func (s *AccountService) CreateAccount(ctx context.Context, req *accountproto.CreateAccountRequest) (*accountproto.CreateAccountResponse, error)
- func (s *AccountService) CreateAdminAccount(ctx context.Context, req *accountproto.CreateAdminAccountRequest) (*accountproto.CreateAdminAccountResponse, error)
- func (s *AccountService) DisableAPIKey(ctx context.Context, req *proto.DisableAPIKeyRequest) (*proto.DisableAPIKeyResponse, error)
- func (s *AccountService) DisableAccount(ctx context.Context, req *accountproto.DisableAccountRequest) (*accountproto.DisableAccountResponse, error)
- func (s *AccountService) DisableAdminAccount(ctx context.Context, req *accountproto.DisableAdminAccountRequest) (*accountproto.DisableAdminAccountResponse, error)
- func (s *AccountService) EnableAPIKey(ctx context.Context, req *proto.EnableAPIKeyRequest) (*proto.EnableAPIKeyResponse, error)
- func (s *AccountService) EnableAccount(ctx context.Context, req *accountproto.EnableAccountRequest) (*accountproto.EnableAccountResponse, error)
- func (s *AccountService) EnableAdminAccount(ctx context.Context, req *accountproto.EnableAdminAccountRequest) (*accountproto.EnableAdminAccountResponse, error)
- func (s *AccountService) GetAPIKey(ctx context.Context, req *proto.GetAPIKeyRequest) (*proto.GetAPIKeyResponse, error)
- func (s *AccountService) GetAPIKeyBySearchingAllEnvironments(ctx context.Context, req *proto.GetAPIKeyBySearchingAllEnvironmentsRequest) (*proto.GetAPIKeyBySearchingAllEnvironmentsResponse, error)
- func (s *AccountService) GetAccount(ctx context.Context, req *accountproto.GetAccountRequest) (*accountproto.GetAccountResponse, error)
- func (s *AccountService) GetAdminAccount(ctx context.Context, req *accountproto.GetAdminAccountRequest) (*accountproto.GetAdminAccountResponse, error)
- func (s *AccountService) GetMe(ctx context.Context, req *accountproto.GetMeRequest) (*accountproto.GetMeResponse, error)
- func (s *AccountService) GetMeByEmail(ctx context.Context, req *accountproto.GetMeByEmailRequest) (*accountproto.GetMeResponse, error)
- func (s *AccountService) ListAPIKeys(ctx context.Context, req *proto.ListAPIKeysRequest) (*proto.ListAPIKeysResponse, error)
- func (s *AccountService) ListAccounts(ctx context.Context, req *accountproto.ListAccountsRequest) (*accountproto.ListAccountsResponse, error)
- func (s *AccountService) ListAdminAccounts(ctx context.Context, req *accountproto.ListAdminAccountsRequest) (*accountproto.ListAdminAccountsResponse, error)
- func (s *AccountService) Register(server *grpc.Server)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
type AccountService struct {
// contains filtered or unexported fields
}
func NewAccountService ¶
func NewAccountService( e environmentclient.Client, mysqlClient mysql.Client, publisher publisher.Publisher, opts ...Option, ) *AccountService
func (*AccountService) ChangeAPIKeyName ¶
func (s *AccountService) ChangeAPIKeyName( ctx context.Context, req *proto.ChangeAPIKeyNameRequest, ) (*proto.ChangeAPIKeyNameResponse, error)
func (*AccountService) ChangeAccountRole ¶
func (s *AccountService) ChangeAccountRole( ctx context.Context, req *accountproto.ChangeAccountRoleRequest, ) (*accountproto.ChangeAccountRoleResponse, error)
func (*AccountService) ConvertAccount ¶
func (s *AccountService) ConvertAccount( ctx context.Context, req *accountproto.ConvertAccountRequest, ) (*accountproto.ConvertAccountResponse, error)
func (*AccountService) CreateAPIKey ¶
func (s *AccountService) CreateAPIKey( ctx context.Context, req *proto.CreateAPIKeyRequest, ) (*proto.CreateAPIKeyResponse, error)
func (*AccountService) CreateAccount ¶
func (s *AccountService) CreateAccount( ctx context.Context, req *accountproto.CreateAccountRequest, ) (*accountproto.CreateAccountResponse, error)
func (*AccountService) CreateAdminAccount ¶
func (s *AccountService) CreateAdminAccount( ctx context.Context, req *accountproto.CreateAdminAccountRequest, ) (*accountproto.CreateAdminAccountResponse, error)
func (*AccountService) DisableAPIKey ¶
func (s *AccountService) DisableAPIKey( ctx context.Context, req *proto.DisableAPIKeyRequest, ) (*proto.DisableAPIKeyResponse, error)
func (*AccountService) DisableAccount ¶
func (s *AccountService) DisableAccount( ctx context.Context, req *accountproto.DisableAccountRequest, ) (*accountproto.DisableAccountResponse, error)
func (*AccountService) DisableAdminAccount ¶
func (s *AccountService) DisableAdminAccount( ctx context.Context, req *accountproto.DisableAdminAccountRequest, ) (*accountproto.DisableAdminAccountResponse, error)
func (*AccountService) EnableAPIKey ¶
func (s *AccountService) EnableAPIKey( ctx context.Context, req *proto.EnableAPIKeyRequest, ) (*proto.EnableAPIKeyResponse, error)
func (*AccountService) EnableAccount ¶
func (s *AccountService) EnableAccount( ctx context.Context, req *accountproto.EnableAccountRequest, ) (*accountproto.EnableAccountResponse, error)
func (*AccountService) EnableAdminAccount ¶
func (s *AccountService) EnableAdminAccount( ctx context.Context, req *accountproto.EnableAdminAccountRequest, ) (*accountproto.EnableAdminAccountResponse, error)
func (*AccountService) GetAPIKey ¶
func (s *AccountService) GetAPIKey(ctx context.Context, req *proto.GetAPIKeyRequest) (*proto.GetAPIKeyResponse, error)
func (*AccountService) GetAPIKeyBySearchingAllEnvironments ¶
func (s *AccountService) GetAPIKeyBySearchingAllEnvironments( ctx context.Context, req *proto.GetAPIKeyBySearchingAllEnvironmentsRequest, ) (*proto.GetAPIKeyBySearchingAllEnvironmentsResponse, error)
func (*AccountService) GetAccount ¶
func (s *AccountService) GetAccount( ctx context.Context, req *accountproto.GetAccountRequest, ) (*accountproto.GetAccountResponse, error)
func (*AccountService) GetAdminAccount ¶
func (s *AccountService) GetAdminAccount( ctx context.Context, req *accountproto.GetAdminAccountRequest, ) (*accountproto.GetAdminAccountResponse, error)
func (*AccountService) GetMe ¶
func (s *AccountService) GetMe( ctx context.Context, req *accountproto.GetMeRequest, ) (*accountproto.GetMeResponse, error)
func (*AccountService) GetMeByEmail ¶
func (s *AccountService) GetMeByEmail( ctx context.Context, req *accountproto.GetMeByEmailRequest, ) (*accountproto.GetMeResponse, error)
func (*AccountService) ListAPIKeys ¶
func (s *AccountService) ListAPIKeys( ctx context.Context, req *proto.ListAPIKeysRequest, ) (*proto.ListAPIKeysResponse, error)
func (*AccountService) ListAccounts ¶
func (s *AccountService) ListAccounts( ctx context.Context, req *accountproto.ListAccountsRequest, ) (*accountproto.ListAccountsResponse, error)
func (*AccountService) ListAdminAccounts ¶
func (s *AccountService) ListAdminAccounts( ctx context.Context, req *accountproto.ListAdminAccountsRequest, ) (*accountproto.ListAdminAccountsResponse, error)
func (*AccountService) Register ¶
func (s *AccountService) Register(server *grpc.Server)
Click to show internal directories.
Click to hide internal directories.