Documentation ¶
Overview ¶
package admin provides an implementation of the API described in auth/schema/adminschema.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminAPI ¶
type AdminAPI struct {
// contains filtered or unexported fields
}
AdminAPI provides the logic necessary to implement the Admin API.
func NewAdminAPI ¶
func (*AdminAPI) CreateAdmin ¶
func (a *AdminAPI) CreateAdmin(admn adminschema.Admin) (string, error)
func (*AdminAPI) GetState ¶
func (a *AdminAPI) GetState() (adminschema.State, error)
Click to show internal directories.
Click to hide internal directories.