grpcclients

package
v0.0.0-...-187538d Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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