controllers

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: 3 Imported by: 0

Documentation

Overview

Package controllers implement the service controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AAPController

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

func NewAAPController

func NewAAPController(serviceContext *azservices.ServiceContext, aapCentralStorage azStorage.AAPCentralStorage) (*AAPController, error)

func (AAPController) CreateAccount

func (s AAPController) CreateAccount(email string) (*azmodels.Account, error)

CreateAccount creates a new account.

func (AAPController) DeleteAccount

func (s AAPController) DeleteAccount(accountID int64) (*azmodels.Account, error)

DeleteAccount delete an account.

func (AAPController) GetAllAccounts

func (s AAPController) GetAllAccounts() ([]azmodels.Account, error)

GetAllAccounts returns all accounts.

func (AAPController) Setup

func (s AAPController) Setup() error

Setup initializes the service.

Jump to

Keyboard shortcuts

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