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: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteActionTemplate

func DeleteActionTemplate(api *store.API, project, action, id string) (string, error)

DeleteActionTemplate delete template

func GetActionTemplate

func GetActionTemplate(api *store.API, project, action, id string) (string, error)

GetActionTemplate get template for different actions

func GetFieldTypes

func GetFieldTypes() []types.FieldTypes

GetFieldTypes get all available field types

func GetTemplate

func GetTemplate(api *store.API, project, action, id string, obj interface{}) error

GetTemplate based on id or json(tmpl)

func PostActionTemplate

func PostActionTemplate(api *store.API, project, action, id, value string) (string, error)

PostActionTemplate insert template for different actions

func PutActionTemplate

func PutActionTemplate(api *store.API, project, action, id, value string) (string, error)

PutActionTemplate update template

Types

This section is empty.

Jump to

Keyboard shortcuts

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