Documentation
¶
Index ¶
- func CreateMockFile(path string)
- func GetAllMocks(ctx context.Context, req *proto.GetMockReq) ([]models.Mock, error)
- func GetHttpHeader(m map[string]*proto.StrArr) map[string][]string
- func GetProtoMap(m map[string][]string) map[string]*proto.StrArr
- func NewContext(conf Config) context.Context
- func PostMock(ctx context.Context, path string, mock models.Mock)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMockFile ¶
func CreateMockFile(path string)
func GetAllMocks ¶
func NewContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.