validate

package
v0.0.0-...-725c2af Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPayloadReqParams

func CheckPayloadReqParams(requiredParams map[string]string, payload *gabs.Container) error

CheckPayloadReqParams loops through the required params and confirms they exist in the payload and are the correct type.

func CheckPayloadStructure

func CheckPayloadStructure(payload *gabs.Container) error

CheckPayloadStructure checks that a payload has all top-level fields necessary to be processed by the bolt engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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