program

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var T = template.Must(template.New("t").Parse(strings.Join([]string{
	prog_file,
	func_new,

	type_page,
	type_user,

	signout_handler,
	signin_handler,
	docs_handler,

	user_middleware,
	user_database,
	session_database,

	valid_paths,
	snippet_langs,
	must_get_files_dir,
}, "")))

Functions

This section is empty.

Types

type Program

type Program struct {
	// The name of the Go package.
	PkgName      string
	RootPath     string
	ListenAddr   string
	IsExecutable bool
	ValidPaths   map[string]string
	SnippetTypes []string
	Users        map[string]string
	SessionName  string
}

func (Program) Imports

func (p Program) Imports() []string

Jump to

Keyboard shortcuts

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