Documentation
¶
Index ¶
- Constants
- Variables
- func Get(r *http.Request) *dmpTree
- func GetResolvedTemplate() (string, error)
- func NewDumpTree(r *http.Request) *dmpTree
- func NewRootNode() *rootNode
- func SplitString(input string) string
- type ApixtConfig
- type Claims
- type Credentials
- type Dmux
- type DumpBlockNode
- type PageData
- type SectionInfoNode
- type SectionNode
- type Timer
- type Timers
Constants ¶
View Source
const CrownKey ctxKey = 1
View Source
const DUMP_PARAM = "dump"
View Source
const STOP_NEXT_PREFIX = "-"
Variables ¶
View Source
var DumpBlockNodeType string = "DumpBlockNode"
View Source
var SectionInfoNodeType string = "SectionInfoNode"
View Source
var SectionNodeType string = "SectionNode"
Functions ¶
func GetResolvedTemplate ¶
func NewDumpTree ¶
func NewRootNode ¶
func NewRootNode() *rootNode
func SplitString ¶
Types ¶
type ApixtConfig ¶
type ApixtConfig struct {
ApiId string `json:"apiId"`
Permanent bool `json:"permanent"`
BaseUrl string `json:"-"`
DumpPath string `json:"dumpPath"`
Routes []string `json:"routes"`
DumpHeader string `json:"dumpHeader"`
StorePrefix string `json:"storePrefix"`
JwtSecret string `json:"-"`
Users []Credentials `json:"-"`
}
type Claims ¶
type Claims struct {
Username string `json:"username"`
jwt.RegisteredClaims
}
type Credentials ¶
type Dmux ¶
type Dmux struct {
// contains filtered or unexported fields
}
func (*Dmux) HandleFunc ¶
type DumpBlockNode ¶
type DumpBlockNode struct {
// contains filtered or unexported fields
}
func NewDumpBlockNode ¶
func NewDumpBlockNode(title, inner string, options blockOptions) *DumpBlockNode
type SectionInfoNode ¶
type SectionInfoNode struct {
// contains filtered or unexported fields
}
func NewSectionInfoNode ¶
func NewSectionInfoNode(parent int) *SectionInfoNode
type SectionNode ¶
type SectionNode struct {
// contains filtered or unexported fields
}
func NewSectionNode ¶
func NewSectionNode(title string, parent int) *SectionNode
Click to show internal directories.
Click to hide internal directories.