core

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConfigPath string `validate:"required"`
}

type ConfigFile

type ConfigFile struct {
	MockSpecifications []mockserver.Specification `yaml:"minimok"`
}

type Core

type Core struct {
	// contains filtered or unexported fields
}

func New

func New(cfg Config) (*Core, error)

func (*Core) Start

func (e *Core) Start(ctx context.Context) (err error)

type Handler

type Handler struct {
	Specification mockserver.Specification
	Handler       http.Handler
}

Jump to

Keyboard shortcuts

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