Help us shape the future of Go! Take the 2026 Go Developer Survey

microservice

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 License: MIT Imports: 9 Imported by: 0

README

Build Status

Call microservices from a go project

Needs readme

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultDomain string
View Source
var DefaultPort = "3000"
View Source
var DefaultTimeout = 10

Functions

func Call

func Call(ms string, args Args) (*http.Response, error)

func Prepare

func Prepare(ms string, args Args) (*http.Request, error)

Types

type Args

type Args struct {
	Path    string
	Body    string
	Method  string
	Params  map[string]string
	Headers map[string]string
}

Jump to

Keyboard shortcuts

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