ctx

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBucket

func GetBucket(ctx context.Context) string

func GetMethod

func GetMethod(ctx context.Context) s3.Method

func GetObject

func GetObject(ctx context.Context) string

func GetStorage

func GetStorage(ctx context.Context) string

func GetTraceID

func GetTraceID(ctx context.Context) string

func GetUser

func GetUser(ctx context.Context) string

func SetBucket

func SetBucket(ctx context.Context, in string) context.Context

func SetFlow

func SetFlow(ctx context.Context, in Flow) context.Context

func SetMethod

func SetMethod(ctx context.Context, in s3.Method) context.Context

func SetObject

func SetObject(ctx context.Context, in string) context.Context

func SetStorage

func SetStorage(ctx context.Context, in string) context.Context

func SetTraceID

func SetTraceID(ctx context.Context, in string) context.Context

func SetUser

func SetUser(ctx context.Context, u string) context.Context

Types

type Flow

type Flow string
const (
	Event     Flow = "event"
	Migration Flow = "migration"
	Api       Flow = "api"
)

func GetFlow

func GetFlow(ctx context.Context) Flow

Jump to

Keyboard shortcuts

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