transport

package
Version: v0.6.16 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: MIT Imports: 2 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomContextKeys

func CustomContextKeys() []string

CustomContextKeys 自定义context

func CustomContextKeysLength added in v0.6.4

func CustomContextKeysLength() int

CustomContextKeysLength 自定义context keys长度

func Set

func Set(arr []string)

Set 设置context key arr

func Value

func Value(ctx context.Context, key string) interface{}

Value 获取数据

func WithValue

func WithValue(ctx context.Context, key string, value interface{}) context.Context

WithValue 设置数据

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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