util

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelToSnake

func CamelToSnake(str string) string

CamelToSnake takes a camelcase string and returns a snake case string.

func OutgoingContext added in v0.19.3

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.19.3

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.

Jump to

Keyboard shortcuts

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