localservices

package
v0.0.0-...-ec8b350 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: MPL-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMAC

func NewMAC() (string, error)

NewMAC generates a new fake MAC address

func NewUUID

func NewUUID() (string, error)

NewUUID generates a random UUID according to RFC 4122

Types

type HttpService

type HttpService interface {
	SetupHTTP(mux *httprouter.Router)
}

An HttpService provides the HTTP API for a service double.

type ServiceInstance

type ServiceInstance struct {
	hook.TestService
	Scheme      string
	Hostname    string
	UserAccount string
}

A ServiceInstance is an Joyent Cloud service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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