controller

package
v0.0.0-...-095e0e9 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StartTime time.Time

Functions

func ComputeHash

func ComputeHash(c echo.Context) error

func GetIndex

func GetIndex(c echo.Context) error

func GetStatus

func GetStatus(c echo.Context) error

func HashHighwayHash

func HashHighwayHash(c echo.Context) error

func HashHighwayHash128

func HashHighwayHash128(c echo.Context) error

func HashHighwayHash64

func HashHighwayHash64(c echo.Context) error

func HashMD5

func HashMD5(c echo.Context) error

func HashSHA1

func HashSHA1(c echo.Context) error

func HashSHA256

func HashSHA256(c echo.Context) error

func HashSHA384

func HashSHA384(c echo.Context) error

func HashSHA512

func HashSHA512(c echo.Context) error

func KeyGen

func KeyGen(c echo.Context) error

func ListMethods

func ListMethods(c echo.Context) error

Types

type BasicError

type BasicError struct {
	Error string
}

type HashMethod

type HashMethod struct {
	Name         string
	Endpoint     string
	MinKeyLength int
	MaxKeyLength int
}

type HashResp

type HashResp struct {
	Digest    string
	DigestEnc string
	Type      string
	Key       string
}

type KeyResp

type KeyResp struct {
	KeyHex string
	Length int
}

Jump to

Keyboard shortcuts

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