Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServer ¶
type MockServer struct {
// contains filtered or unexported fields
}
func New ¶
func New() *MockServer
func (*MockServer) Handler ¶
func (m *MockServer) Handler() http.Handler
func (*MockServer) SetPets ¶
func (m *MockServer) SetPets(pets map[int]Pet)
type Pet ¶
type Pet struct { Id int `json:"id"` Name string `json:"name"` Category PetCategory `json:"category"` PhotoUrls []string `json:"photoUrls"` Status string `json:"status"` }
type PetCategory ¶
Click to show internal directories.
Click to hide internal directories.