methods

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2017 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Implementation

type Implementation struct {
}

Implementation is an methods implementation

func (*Implementation) Connect

func (m *Implementation) Connect() Value

Connect Return HTTP method CONNECT

func (*Implementation) Delete

func (m *Implementation) Delete() Value

Delete Return HTTP method DELETE

func (*Implementation) Get

func (m *Implementation) Get() Value

Get Return HTTP method GET

func (*Implementation) Head

func (m *Implementation) Head() Value

Head Return HTTP method GET

func (*Implementation) Options

func (m *Implementation) Options() Value

Options Return HTTP method OPTIONS

func (*Implementation) Post

func (m *Implementation) Post() Value

Post Return HTTP method POST

func (*Implementation) Put

func (m *Implementation) Put() Value

Put Return HTTP method PUT

func (*Implementation) Trace

func (m *Implementation) Trace() Value

Trace Return HTTP method TRACE

type Interface

type Interface interface {
	Options() Value
	Get() Value
	Head() Value
	Post() Value
	Put() Value
	Delete() Value
	Trace() Value
	Connect() Value
}

Interface is an methods interface

func New

func New() Interface

New Function create new implementation of interface

type Type

type Type int

Type Type of methods

type Value

type Value interface {
	Int() int
	String() string
	Type() Type
}

Value Value is an interface of method

Jump to

Keyboard shortcuts

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