adapter

package
v0.0.0-...-b86bc81 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIKeyId

func APIKeyId(ctx context.Context) *project.APIKeyID

func AttachAPIKeyId

func AttachAPIKeyId(ctx context.Context, a *project.APIKeyID) context.Context

func AttachGateways

func AttachGateways(ctx context.Context, g *gateway.Container) context.Context

func AttachOperator

func AttachOperator(ctx context.Context, o *usecase.Operator) context.Context

func AttachUsecases

func AttachUsecases(ctx context.Context, u *interfaces.Container) context.Context

func AttachUser

func AttachUser(ctx context.Context, u *user.User) context.Context

func Gateways

func Gateways(ctx context.Context) *gateway.Container

func GetAuthInfo

func GetAuthInfo(ctx context.Context) *appx.AuthInfo

func Lang

func Lang(ctx context.Context, lang *language.Tag) string

func Operator

func Operator(ctx context.Context) *usecase.Operator

func Usecases

func Usecases(ctx context.Context) *interfaces.Container

func User

func User(ctx context.Context) *user.User

Types

type ContextKey

type ContextKey string
const (
	ContextAuthInfo ContextKey = "auth-info"
)

Directories

Path Synopsis
gql
Package integration provides primitives to interact with the openapi HTTP API.
Package integration provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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