Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Blueprint ¶
type Blueprint struct { Host string Port int Delay *int64 Routes []*Route Log io.Writer ResourceLocator ResourceLocator }
Blueprint represent how should be serve the routes
func NewBlueprint ¶
NewBlueprint creates a new instance with some default values
func (*Blueprint) MakeRouter ¶
MakeRouter create a router using the blueprint routes
type Faker ¶
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 }
Faker it's just a struct thats wraps faker packages interfaces
type ResourceLocator ¶
Click to show internal directories.
Click to hide internal directories.