writer

package
v0.0.0-...-eef2c6e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTMLResponseWriter

type HTMLResponseWriter struct {
	JSONResponseWriter
}

func (*HTMLResponseWriter) Write

func (h *HTMLResponseWriter) Write(apiContext *types.APIContext, code int, obj interface{})

type JSONResponseWriter

type JSONResponseWriter struct {
}

func (*JSONResponseWriter) Body

func (j *JSONResponseWriter) Body(apiContext *types.APIContext, writer io.Writer, obj interface{}) error

func (*JSONResponseWriter) VersionBody

func (j *JSONResponseWriter) VersionBody(apiContext *types.APIContext, version *types.APIVersion, writer io.Writer, obj interface{}) error

func (*JSONResponseWriter) Write

func (j *JSONResponseWriter) Write(apiContext *types.APIContext, code int, obj interface{})

Jump to

Keyboard shortcuts

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