auth

package
v3.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 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