usermanager

package
v0.0.0-...-732aecd Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2014 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserManager

type UserManager interface {
	AddUser(arg params.ModifyUsers) (params.ErrorResults, error)
	RemoveUser(arg params.Entities) (params.ErrorResults, error)
}

UserManager defines the methods on the usermanager API end point.

type UserManagerAPI

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

UserManagerAPI implements the user manager interface and is the concrete implementation of the api end point.

func NewUserManagerAPI

func NewUserManagerAPI(
	st *state.State,
	authorizer common.Authorizer,
) (*UserManagerAPI, error)

func (*UserManagerAPI) AddUser

func (api *UserManagerAPI) AddUser(args params.ModifyUsers) (params.ErrorResults, error)

func (*UserManagerAPI) RemoveUser

func (api *UserManagerAPI) RemoveUser(args params.Entities) (params.ErrorResults, error)

Jump to

Keyboard shortcuts

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