Versions in this module Expand all Collapse all v0 v0.1.0 Jan 27, 2022 Changes in this version + func View(template string) (string, error) + type Blueprint struct + Delay *int64 + Host string + Log io.Writer + Port int + ResourceLocator ResourceLocator + Routes []*Route + func NewBlueprint(host string, port int) *Blueprint + func (b *Blueprint) AddRoute(path string, method string, body string) *Route + func (b *Blueprint) MakeRouter() *mux.Router + type Faker struct + Address faker.FakeAddress + App faker.FakeApp + Avatar faker.FakeAvatar + Bitcoin faker.FakeBitcoin + Business faker.FakeBusiness + Code faker.FakeCode + Commerce faker.FakeCommerce + Company faker.FakeCompany + Date faker.FakeDate + Finance faker.FakeFinance + Hacker faker.FakeHacker + Internet faker.FakeInternet + Lorem faker.FakeLorem + Name faker.FakeName + Number faker.FakeNumber + PhoneNumber faker.FakePhoneNumber + Team faker.FakeTeam + Time faker.FakeTime + func NewFaker() *Faker + type Header struct + Key string + Value string + type Request struct + Headers []*Header + Methods []string + Path string + type ResourceLocator interface + Locate func(identifier string) []byte + type Response struct + Delay *int64 + Headers []*Header + Resources []string + Status uint16 + Template string + type Route struct + Request *Request + Response *Response + type Stdout struct + func NewStdout() *Stdout + func (s *Stdout) Write(p []byte) (n int, err error)