ozzo_routing

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package accesslog provides a middleware that records every RESTful API call in a log message.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseQueryParams

func ParseQueryParams(ctx *routing.Context, st interface{}) (*selection_condition.SelectionCondition, error)

func ParseQueryParamsIntoStruct

func ParseQueryParamsIntoStruct(ctx *routing.Context, out interface{}) error

func ParseUintParam

func ParseUintParam(ctx *routing.Context, paramName string) (uint, error)

func ParseUintQueryParam

func ParseUintQueryParam(ctx *routing.Context, paramName string) (uint, error)

func SetHeader

func SetHeader(key string, value string) routing.Handler

Handler returns a middleware with setted HTTP header.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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