admin

package
v0.0.0-...-a4e7b05 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: GPL-3.0 Imports: 9 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 {
	// contains filtered or unexported fields
}

Admin is the admin structure

func NewAdmin

func NewAdmin(db *gorm.DB) *Admin

NewAdmin returns a new admin object

func (*Admin) Init

func (a *Admin) Init()

Init initializes the admin

func (*Admin) Run

func (a *Admin) Run(args []string)

Run runs the admin

type Config

type Config struct {
	AdminURL  string
	AdminPath string
	AdminSSL  bool
}

Config is the admin configuration struct.

func NewConfig

func NewConfig() *Config

NewConfig returns the configuration object.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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