Versions in this module Expand all Collapse all v0 v0.1.0 May 25, 2022 Changes in this version + type MockAPI struct + HTTPMethod string + Headers map[string]string + Path string + Responses []MockAPIResponse + Title string + type MockAPIResponse struct + Body string + HTTPCode int + IsMock bool + type MockServer struct + func New(addr string) *MockServer + func (m *MockServer) InitFiles(dir string) error + func (m *MockServer) InitMockApis(mockApis []MockAPI) + func (s *MockServer) Serve() error