server

package
v0.0.0-...-824bf00 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(opt Options) error

Types

type MockDefinition

type MockDefinition struct {
	Url         string                   `json:"url"`
	Response    map[string]responseModel `json:"response"`
	ContentType string                   `json:"content_type"`
	Method      string                   `json:"method"`
}

type Options

type Options struct {
	Address             string
	DefinitionsLocation string
	Debug               bool
}

Jump to

Keyboard shortcuts

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