utils

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mac256

func Mac256(key, message []byte) []byte

func V2Headers

func V2Headers(request *http.Request) []byte

func V2Resource

func V2Resource(bucket string, request *http.Request) []byte

func V4Headers

func V4Headers(request *http.Request) ([]byte, []byte)

func V4QueryString

func V4QueryString(queryString string) []byte

Types

type SizeInBytes

type SizeInBytes int64

func (SizeInBytes) Bytes

func (sizeInBytes SizeInBytes) Bytes() string

func (SizeInBytes) Exabytes

func (sizeInBytes SizeInBytes) Exabytes() string

func (SizeInBytes) Gigabytes

func (sizeInBytes SizeInBytes) Gigabytes() string

func (SizeInBytes) Kilobytes

func (sizeInBytes SizeInBytes) Kilobytes() string

func (SizeInBytes) Megabytes

func (sizeInBytes SizeInBytes) Megabytes() string

func (SizeInBytes) Petabytes

func (sizeInBytes SizeInBytes) Petabytes() string

func (SizeInBytes) String

func (sizeInBytes SizeInBytes) String() string

func (SizeInBytes) Terabytes

func (sizeInBytes SizeInBytes) Terabytes() string

Jump to

Keyboard shortcuts

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