cms

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 17 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

func Wrapper

func Wrapper(s interface{}, page string, params interface{}, version string, language string, method string) interface{}

func Wrapperstring

func Wrapperstring(s interface{}, page string, params interface{}, version string, language string, method string) string

Types

type CMS

type CMS struct {
	Method   string
	Page     string
	Listener *config.Listener
	Host     *config.Host

	PagesDir      string
	Code          int
	MainContext   *context.Context
	Recursivity   map[string]int
	GZipCandidate bool
	// contains filtered or unexported fields
}

func (*CMS) GetFullConfig

func (s *CMS) GetFullConfig() *config.ConfigDef

GetFullConfig for admin functions. See how to protect this TODO(phi) protect GetFullConfig

func (*CMS) Run

func (s *CMS) Run(page string, innerpage bool, params interface{}, version string, language string, method string) interface{}

The main xamboo runner innerpage is false for the default page call, true when it's a subcall (inner call, with context)

func (*CMS) ServeHTTP

func (s *CMS) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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