cmd

package
v0.0.0-...-a65d6f1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2019 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute executes the Tanuki command line application

Types

type Handler

type Handler struct {
	Method string `yaml:"method"`
	Route  string `yaml:"route"`
	Type   string `yaml:"type"`
	Local  bool   `yaml:"local,omitempty"` // only for listeners
	Path   string `yaml:"path"`            // file path if bin or local listener, host:port to remote listener
	Port   string
}

Handler configuration tells Tanuki how to route requests and call the correct handler to process the info

type Handlers

type Handlers []Handler

Handlers is an array of Handlers

Jump to

Keyboard shortcuts

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