endpoints

package
v0.0.0-...-3fd877b Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoints

type Endpoints struct {
	Validate endpoint.Endpoint
	Fix      endpoint.Endpoint
}

func NewEndpoints

func NewEndpoints(svc services.Service) Endpoints

type FixRequest

type FixRequest struct {
	Input string
}

type FixResponse

type FixResponse struct {
	Result string
}

type ValidateRequest

type ValidateRequest struct {
	Input string
}

type ValidateResponse

type ValidateResponse struct {
	ValidationResult bool
}

Jump to

Keyboard shortcuts

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