header

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package header 用于指定输出的报头。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(next http.Handler, headers map[string]string, funs map[string]func() string) http.Handler

New 声明一个用于输出报头的中间件。

若同时存在于 headers 与 funcs,则最终 funcs 中的作为内容输出。

Types

This section is empty.

Jump to

Keyboard shortcuts

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