helper

package
v0.0.0-...-6d457b8 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeAndValidate

func DecodeAndValidate(body io.Reader, payload interface{}) error

DecodeAndValidate makes the response with payload as json format

func Post

func Post(url string, payload interface{}, respPayload interface{}, serverClientID string, serverClientSecret string) error

func PostNoBody

func PostNoBody(url string, respPayload interface{}, serverClientID string, serverClientSecret string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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