minimok

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 7 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 {
	MokSpecs []mokserver.Spec `validate:"required"`
}

type Handler added in v0.2.4

type Handler struct {
	MokSpec mokserver.Spec
	Handler http.Handler
}

type Minimok

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

func New

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

func (*Minimok) Start added in v0.2.4

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

Jump to

Keyboard shortcuts

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