callerd

package
v0.0.0-...-ba94d45 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const HTTP_METHOD_GET = "get"
View Source
const HTTP_METHOD_POST = "post"
View Source
const HTTP_STATUS_CODE_ERROR = 400

Variables

This section is empty.

Functions

This section is empty.

Types

type Caller

type Caller interface {
	Call(method, url string, params map[string]string) (bool, string)
}

Maybe we will have a caller which is implemented by GRPC, so this caller interface is here.

func NewCaller

func NewCaller() Caller

type Caller_http

type Caller_http struct {
}

func (Caller_http) Call

func (caller_http Caller_http) Call(method string, url string, params map[string]string) (bool, string)

Jump to

Keyboard shortcuts

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