utils

package
v0.0.0-...-8ab8685 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedHeaders = []string{
	fiber.HeaderAuthorization, fiber.HeaderOrigin, fiber.HeaderContentType, fiber.HeaderAccept,
	fiber.HeaderConnection, fiber.HeaderAcceptCharset, fiber.HeaderAcceptLanguage, fiber.HeaderAcceptEncoding,
	fiber.HeaderXForwardedFor, "X-Real-IP", fiber.HeaderAccessControlAllowHeaders,
	fiber.HeaderAccessControlAllowOrigin, fiber.HeaderAccessControlAllowMethods,
}
View Source
var AllowedMethods = []string{fiber.MethodPost, fiber.MethodGet, fiber.MethodOptions}

Functions

This section is empty.

Types

type Hasher

type Hasher struct {
	// contains filtered or unexported fields
}

func NewHasher

func NewHasher() *Hasher

func (Hasher) GetHash

func (h Hasher) GetHash(size int) string

func (Hasher) MakeHash

func (h Hasher) MakeHash(str string) Hasher

Jump to

Keyboard shortcuts

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