useradmin

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	Role string
}

func NewAdmin

func NewAdmin(config AdminConfig) (model *Admin, err error)

type AdminConfig

type AdminConfig interface {
	AdminRole() string
}

type User

type User struct {
	Name string
}

func NewUser

func NewUser(config UserConfig) (model *User, err error)

type UserConfig

type UserConfig interface {
	UserName() string
}

Jump to

Keyboard shortcuts

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