recconf

package
v0.0.0-...-9e23852 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 1 Imported by: 0

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
}

func NewAPI

func NewAPI(user *useradmin.User, admin *useradmin.Admin, config APIConfig) (api *API, err error)

type APIConfig

type APIConfig interface {
	UserName() string
	AdminRole() string
}

type UserModel

type UserModel struct {
	Name string
	// contains filtered or unexported fields
}

func NewUserModel

func NewUserModel(api *API, config UserModelConfig) (model *UserModel, err error)

type UserModelConfig

type UserModelConfig interface {
	Name() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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