sample_handler

package
v0.0.0-...-925651e Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DocsRoute = routes.Routing{
	Path:    "/docs",
	Prefix:  true,
	Name:    "docs",
	Method:  routes.Method{"GET"},
	Handler: docs,
}
View Source
var ExecSampleRoute = routes.Routing{
	Path:                 "/exec-sample",
	Name:                 "exec-sample",
	Method:               routes.Method{"GET", "POST", "DELETE", "PUT", "PATCH"},
	Handler:              execSample,
	WithGlobalMiddleware: false,
}
View Source
var RequestRoute = routes.Routing{
	Path:    "/samples/requests",
	Name:    "",
	Method:  routes.Method{"GET", "POST"},
	Handler: sampleRequests,
}
View Source
var StorageRoute = routes.Routing{
	Path:    "/samples/storage",
	Name:    "",
	Method:  routes.Method{"POST"},
	Handler: sampleFileStorage,
}

Functions

func RunCommand

func RunCommand(name string, args ...string) (stdout string, exitCode int, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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