config

package
v0.0.0-...-79aaa6a Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunConfigTest

func RunConfigTest()

RunConfigTest ...

Types

type Node

type Node struct {
	ID   string
	Name string
	Subs []Node
}

Node the node config

func CopyNode

func CopyNode(n Node) Node

CopyNode ...

func (Node) FindNode

func (n Node) FindNode(id string) *Node

FindNode ...

type Nodes

type Nodes struct {
	Root Node
	Home string
}

Nodes the nodes holder

func CopyNodes

func CopyNodes(n Nodes) Nodes

CopyNodes ...

func (Nodes) FindNode

func (n Nodes) FindNode(id string) *Node

FindNode ...

type Site

type Site struct {
	Tag   string
	Nodes Nodes
}

Site the site config

func CopySite

func CopySite(s Site) Site

CopySite creates a clone of the provided site struct

Jump to

Keyboard shortcuts

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