template

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(name string, item Item) error

func Read

func Read() error

func Remove

func Remove(name string) error

func Save

func Save() error

Types

type Item

type Item struct {
	NatsServer    string
	NatsSubject   string
	NatsClusterID string
}

func Get

func Get(name string) (Item, error)

type Templates

type Templates struct {
	Values map[string]Item
}

func List

func List() Templates

Jump to

Keyboard shortcuts

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