admin

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Panel

type Panel struct {
	Path string
	// contains filtered or unexported fields
}

func NewPanel

func NewPanel(db *sql.DB, driver, path string) (*Panel, error)

func (*Panel) GetModels added in v0.0.2

func (p *Panel) GetModels() map[string]*model.Model

func (*Panel) GetStaticFS added in v0.0.2

func (p *Panel) GetStaticFS() http.FileSystem

func (*Panel) RegisterModel

func (p *Panel) RegisterModel(modelStruct interface{}, tableName string) error

func (*Panel) ServeHTTP

func (p *Panel) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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