context

package
v0.0.0-...-52eab8c Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKey

type ContextKey string
const (
	CevixeInitContextKey      ContextKey = "cvxini"
	CevixeExecutionContextKey ContextKey = "cvxexe"
)

type ExecutionContext

type ExecutionContext struct {
	Author      string
	Trigger     string
	Transaction string
}

func GetExecutionContenxt

func GetExecutionContenxt(ctx context.Context) *ExecutionContext

type InitContext

type InitContext struct {
	AppName        string
	DomainName     string
	HandlerName    string
	S3Client       *s3.Client
	SNSClient      *sns.Client
	DynamodbClient *dynamodb.Client
}

func GetInitContenxt

func GetInitContenxt(ctx context.Context) *InitContext

Jump to

Keyboard shortcuts

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