endpointutil

package
v0.0.0-...-081ecb4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(ctx context.Context) error

func MakeInternalRequestContext

func MakeInternalRequestContext(ctx context.Context, sctx *session.RequestContext, hctx *HandlerRegContext,
	requestAccessToken string) (*request.InternalContext, error)

func RequestContext

func RequestContext(ctx context.Context) request.Context

func StoreError

func StoreError(ctx context.Context, err error) context.Context

func StoreRequestContext

func StoreRequestContext(ctx context.Context, rc request.Context) context.Context

Types

type HandlerRegContext

type HandlerRegContext struct {
	Authorizer *auth.Authorizer
	Log        logutil.Log
	ErrTracker apperrors.Tracker
	Cfg        config.Config
	DB         *gorm.DB
}

Jump to

Keyboard shortcuts

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