utils

package
v0.0.0-...-a06e19b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyHeaders

func CopyHeaders(dst, src http.Header)

func GenBytesHash

func GenBytesHash(nbytes int) (string, error)

func ParseMessageFromBytes

func ParseMessageFromBytes(b []byte, inJSON bool) (*message.Message, error)

func ParseMessageFromJSON

func ParseMessageFromJSON(b []byte) (*message.Message, error)

func ParseMessageFromProtoBytes

func ParseMessageFromProtoBytes(b []byte) (*message.Message, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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