users

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0, BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoreComponent *app.CoreComponent
View Source
var ParamsUsers = &ParametersUsers{
	Users: map[string]*User{
		"wasp": {
			Password: "wasp",
			Permissions: []string{
				"dashboard",
				"api",
				"chain.read",
				"chain.write",
			},
		},
	},
}

Functions

This section is empty.

Types

type ParametersUsers

type ParametersUsers struct {
	Users map[string]*User `noflag:"true" usage:"the list of accepted users"`
}

type User

type User struct {
	Password    string   `default:"" usage:"the password of the user"`
	Permissions []string `default:"" usage:"the users permissions"`
}

Jump to

Keyboard shortcuts

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