server

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

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

Go to latest
Published: May 24, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(cmd *cobra.Command, args []string)

NewServer ...

Types

type Properties

type Properties map[string]Property

Properties ...

type Property

type Property struct {
	Type        string          `json:"type"`
	Description string          `json:"description"`
	Optional    bool            `json:"optional"`
	Values      []PropertyValue `json:"values,omitempty"`
}

Property ...

type PropertyValue

type PropertyValue struct {
	Value       string `json:"value"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

PropertyValue ...

type Response

type Response struct {
	Headers []string                 `json:"headers"`
	Rows    []map[string]interface{} `json:"rows"`
}

Response ...

func NewResponse

func NewResponse(results []urlinsane.TypoResult) (resp Response)

NewResponse ...

Jump to

Keyboard shortcuts

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