Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { ReportPath string `yaml:"reportPath"` Port int `yaml:"port"` Host string `yaml:"host"` Mocks []MockConfiguration `yaml:"mocks"` }
func ParseConfigFile ¶
func ParseConfigFile(path string) (*Configuration, error)
type MockConfiguration ¶
type MockConfiguration struct { Mock interface { Type() string } }
func (*MockConfiguration) UnmarshalYAML ¶
func (mc *MockConfiguration) UnmarshalYAML(unmarshal func(interface{}) error) error
Click to show internal directories.
Click to hide internal directories.