Documentation ¶
Overview ¶
Package grpcclients implements the gRPC clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcAAPClient ¶
type GrpcAAPClient struct {
// contains filtered or unexported fields
}
GrpcAAPClient is a gRPC client for the AAP service.
func NewGrpcAAPClient ¶
func NewGrpcAAPClient(target string) (*GrpcAAPClient, error)
NewGrpcAAPClient creates a new gRPC client for the AAP service.
func (*GrpcAAPClient) CreateAccount ¶
func (c *GrpcAAPClient) CreateAccount(email string) (*azmodels.Account, error)
CreateAccount creates a new account.
func (*GrpcAAPClient) DeleteAccount ¶
func (c *GrpcAAPClient) DeleteAccount(accountID int64) (*azmodels.Account, error)
DeleteAccount deletes an account.
func (*GrpcAAPClient) GetAllAccounts ¶
func (c *GrpcAAPClient) GetAllAccounts() ([]azmodels.Account, error)
GetAllAccounts returns all the accounts.
Click to show internal directories.
Click to hide internal directories.