Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CobraRunner ¶
func HttpServerRunner ¶
func HttpServerRunner(appName string, version string, builder EndpointsBuilder, port int) CobraRunner
type EndpointsBuilder ¶
type EndpointsBuilder func() (endpoints []HttpEndpoint)
type HttpEndpoint ¶
type HttpEndpoint struct { Path string Method HttpMethod EngineDefn *dsl.EngineDefn }
type HttpMethod ¶
type HttpMethod string
const ( GetMethod HttpMethod = "GET" PostMethod HttpMethod = "POST" )
Click to show internal directories.
Click to hide internal directories.