helper

package
v0.0.0-...-1305305 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOGGER = logging.MustGetLogger("quotes")

Functions

func CanonicaliseJson

func CanonicaliseJson(jsonb []byte) []byte

func CheckIdentity

func CheckIdentity(req *http.Request, callerExpected string) error

func ExtractJwt

func ExtractJwt(req *http.Request) (string, error)

func GetIdentity

func GetIdentity(req *http.Request) (string, error)

func SendLogToFirebase

func SendLogToFirebase(obj interface{}, childRefs ...string) error

SendLogToFirebase sends a log to Firebase based on the childRef provided `obj`: data to be posted `childRefs`: location to post to on Firebase (variadic)

func SendQuoteRequestToRFI

func SendQuoteRequestToRFI(URLCallback string, quoteRequestToRFIJsonb []byte, HTTP *http.Client) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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