response

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HtmlFormatter

func HtmlFormatter(i interface{}) string

func JsonFormatter

func JsonFormatter(i interface{}) string

func XmlFormatter

func XmlFormatter(i interface{}) string

func YamlFormatter

func YamlFormatter(i interface{}) string

Types

type Html

type Html struct {
	Value string
}

func (Html) Raw

func (r Html) Raw() interface{}

func (Html) String

func (r Html) String() string

type Json

type Json struct {
	Value interface{}
}

func (Json) Raw

func (r Json) Raw() interface{}

func (Json) String

func (r Json) String() string

type Redirect added in v1.1.9

type Redirect struct {
	Value string
}

func (Redirect) Raw added in v1.1.9

func (r Redirect) Raw() interface{}

func (Redirect) String added in v1.1.9

func (r Redirect) String() string

type Response

type Response interface {
	Raw() interface{}
	String() string
}

type XML

type XML struct {
	Value interface{}
}

func (XML) Raw

func (r XML) Raw() interface{}

func (XML) String

func (r XML) String() string

type Yaml

type Yaml struct {
	Value interface{}
}

func (Yaml) Raw

func (r Yaml) Raw() interface{}

func (Yaml) String

func (r Yaml) String() string

Jump to

Keyboard shortcuts

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