Documentation ¶
Index ¶
- Constants
- func GetUser(ctx context.Context) *domain.User
- func NewH2CClient() *http.Client
- func SetUser(ctx *context.Context, user *domain.User)
- func UnwrapHandler(h Handler) echo.HandlerFunc
- func UnwrapHandlerFunc(f func(ctx Context) error) echo.HandlerFunc
- func WrapContextMiddleware() echo.MiddlewareFunc
- type Context
- type DefaultContext
- type H2CConfig
- type H2CServer
- type Handler
Constants ¶
View Source
const ( TraefikHTTPEntrypoint = "web" TraefikHTTPSEntrypoint = "websecure" )
View Source
const (
HeaderNameSSGenAppID = "X-Controller-App-Id"
)
Variables ¶
This section is empty.
Functions ¶
func NewH2CClient ¶
func UnwrapHandler ¶
func UnwrapHandler(h Handler) echo.HandlerFunc
func UnwrapHandlerFunc ¶
func WrapContextMiddleware ¶
func WrapContextMiddleware() echo.MiddlewareFunc
Types ¶
type DefaultContext ¶
type DefaultContext struct {
echo.Context
}
func (*DefaultContext) CookieValue ¶
func (c *DefaultContext) CookieValue(name string) (string, error)
type H2CServer ¶
type H2CServer struct {
// contains filtered or unexported fields
}
func NewH2CServer ¶
Click to show internal directories.
Click to hide internal directories.