logjsonbase

package
v0.0.0-...-14d6b26 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional string logjson = 98721;
	E_Logjson = &file_logjson_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_logjson_proto protoreflect.FileDescriptor

Functions

func GetHttpHeader

func GetHttpHeader(logJsonConfig LogJsonConfigT, header http.Header) http.Header

func LogMd5

func LogMd5(msg []byte) string

func LogMd5Str

func LogMd5Str(msg string) string

Types

type LogJsonConfigT

type LogJsonConfigT map[string]func(string) string

func ConvertToHttpLogJsonConfig

func ConvertToHttpLogJsonConfig(config map[string]string) LogJsonConfigT

type TagOptions

type TagOptions struct {
	MD5     bool
	Discard bool
}

func ParseTag

func ParseTag(tag string) TagOptions

Jump to

Keyboard shortcuts

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