context

package
v1.1.6-beta-1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Type        ContextType
	Context     context.Context
	EchoContext echo.Context
}

type ContextType

type ContextType string
const (
	CLIContext ContextType = "CLIContext"
	APIContext ContextType = "APIContext"
)

type ServiceContext

type ServiceContext struct {
	context.Context
	Type        ContextType
	EchoContext echo.Context
}

func NewContext

func NewContext(config *Config) ServiceContext

Jump to

Keyboard shortcuts

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