teautils

package
v0.0.0-...-f70a1fa Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeTeaStr

func DecodeTeaStr(src []byte, pad int, teaKey string) ([]byte, error)

func EncodeHttpBody

func EncodeHttpBody(c context.Context, ctx *app.RequestContext, data interface{}, teaKey string)

func EncodeTeaStr

func EncodeTeaStr(src []byte, teaKey string) ([]byte, int, error)

func GetTeaPadLen

func GetTeaPadLen(length int) int

func ParseHttpBody

func ParseHttpBody(ctx *app.RequestContext, teaKey string) error

func TeaHexDecode

func TeaHexDecode(hexBody []byte, bLen int, teaKey string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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