auth

package
v3.0.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 18 Imported by: 4

Documentation

Overview

Package auth providers authorization filter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmpty

func IsEmpty(s string, allowSpace bool) bool

IsEmpty verify whether the inputted string is empty

func Sign

func Sign(metadata, key string) string

Sign gets a signature string with given bytes

func SignWithParams

func SignWithParams(params []interface{}, metadata, key string) (string, error)

SignWithParams returns a signature with giving params and metadata.

Types

This section is empty.

Jump to

Keyboard shortcuts

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