auth

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 18 Imported by: 5

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