gostyle

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractRequestInfo

func ExtractRequestInfo(req *http.Request) (style.Info, error)

func ExtractResponseInfo

func ExtractResponseInfo(resp *http.Response) (style.Info, error)

Types

type Info

type Info map[string]interface{}

func InfoFromInterface

func InfoFromInterface(ptr interface{}, excludes []string) Info

func (Info) HandleError

func (i Info) HandleError(open func() (io.WriteCloser, error), err error)

TODO

func (Info) Merge

func (i Info) Merge(i2 style.Info) style.Info

Jump to

Keyboard shortcuts

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