Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API is class with methods available over RPC.
func (*API) AddDappPermissions ¶
func (api *API) AddDappPermissions(ctx context.Context, perms DappPermissions) error
func (*API) DeleteDappPermissions ¶
func (*API) GetDappPermissions ¶
func (api *API) GetDappPermissions(ctx context.Context) ([]DappPermissions, error)
type DappPermissions ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database sql wrapper for operations with browser objects.
func (*Database) AddPermissions ¶
func (db *Database) AddPermissions(perms DappPermissions) (err error)
func (*Database) DeletePermission ¶
func (*Database) GetPermissions ¶
func (db *Database) GetPermissions() (rst []DappPermissions, err error)
Click to show internal directories.
Click to hide internal directories.