requestvalidators

package
v0.0.0-...-9cf374a Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPrivateKey

func GetPrivateKey() (*rsa.PrivateKey, error)

func SignPayload

func SignPayload(txnObj *datatypes.Transaction) error

func Validate

func Validate(obj interface{}) (err error)

Validate ...function validates the incoming json from the network. When new types need to be validated they are to be added here.

Types

This section is empty.

Jump to

Keyboard shortcuts

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