requests

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package requests provides loader for YAML formatted authorization requests file.

Index

Constants

View Source
const (
	YAML          = "yaml"
	JSON          = "json"
	MaxFloat64Int = 1 << 53 // 9,007,199,254,740,992--the maximum IEEE-754 double float integer is not a golang const
)

Variables

This section is empty.

Functions

func Load

func Load(data string, size uint32) ([]pb.Msg, error)

Load reads given data--if it is a filepath that ends in a yaml or json extension and can be read, the respective unmarshaler will be used; otherwise, the input is processed as raw JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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