web

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	ServiceProvider *serviceprovider.Container
	Request         *restful.Request
	Response        *restful.Response
}

Context is the struct to combine the restful message with our own serviceProvider

type NativeContext

type NativeContext struct {
	ServiceProvider *serviceprovider.Container
	Request         *http.Request
	Response        http.ResponseWriter
}

NativeContext is the struct to combine the native http message with our own serviceProvider

Jump to

Keyboard shortcuts

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