lib

package module
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 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
	Name           string // ex index
	PagePath       string // ex /files/index.html
	PageID         int64
	Role           int64 // minimum role to access this route
	PageReferences map[string]int64
	URLS           map[string]string
	BoundFunctions map[string][]string
}

type RouteImport

type RouteImport struct {
	Name           string
	PagePath       string
	InPluginPage   bool
	PageID         int64
	PageReferences []string
	Role           int64
	BoundFunctions []string
}

type User added in v0.1.7

type User struct {
	ID       int
	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