util

package
v0.24.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelToSnake

func CamelToSnake(str string) string

CamelToSnake is deprecated, use github.com/kirinse/util/cases.CamelToSnake.

func OutgoingContext added in v0.24.2

func OutgoingContext(ctx context.Context) context.Context

OutgoingContext set to outgoing context request_id, auth_token, X-Forwarded-For, x-geo- and x-b3- headers value

func OutgoingContextWithCustomParams added in v0.24.2

func OutgoingContextWithCustomParams(ctx context.Context, keys ...string) context.Context

OutgoingContextWithCustomParams set to outgoing context specified parameters from incoming context by keys

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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