lib

package module
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 2 Imported by: 0

README

gowp_objects

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseServer

type BaseServer struct {
	DB         *sql.DB
	HttpServer *http.Server
}

type RootImport added in v0.1.3

type RootImport struct {
	Routes                []RouteImport
	ExtPageBoundFunctions map[int64]string
	BoundFunctions        []string
}

type Route

type Route struct {
	ID             int64
	Title          string // ex Home
	Slug           string // ex /index
	PagePath       string // ex /files/index.html
	PageID         int64
	InMenu         bool
	Role           int // minimum role to access this route
	PageReferences map[string]int64
	URLS           map[string]string
	BoundFunctions map[string][]string
}

type RouteImport

type RouteImport struct {
	Title          string
	Slug           string
	PagePath       string
	MainMenuPage   string
	InMenu         bool
	InPluginPage   bool
	PageID         int64
	PageReferences []string
	Role           int
	BoundFunctions []string
}

type User added in v0.1.7

type User struct {
	ID       int64
	Username string
	Name     string
	Surname  string
	Email    string
	Role     int
}

Jump to

Keyboard shortcuts

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