templates

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New KV store

Types

type Templates

type Templates struct {
	// contains filtered or unexported fields
}

Templates kv store

func (*Templates) DeleteTemplate

func (templates *Templates) DeleteTemplate(project, action, id string) error

DeleteTemplate deletes a template from key store

func (*Templates) GetTemplate

func (templates *Templates) GetTemplate(project, action, id string) (string, error)

GetTemplate from key store

func (*Templates) InsertTemplate

func (templates *Templates) InsertTemplate(project, action, id, value string) error

InsertTemplate inserts a template to the key store

func (*Templates) UpdateTemplate

func (templates *Templates) UpdateTemplate(project, action, id, value string) error

UpdateTemplate updates the template in the key store

Jump to

Keyboard shortcuts

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