server

package
v0.0.0-...-57e923a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2021 License: MIT Imports: 4 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL