Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Authorization authhandler.Config // BasePath is the base context path of the REST endpoint BasePath string }
Config defines the configuration for a blockchain handler
type Discover ¶
type Discover struct { Config // contains filtered or unexported fields }
Discover is a handler that returns available service endpoints
func (*Discover) Handler ¶
func (h *Discover) Handler() common.HTTPRequestHandler
Handler returns the request handler
type Filter ¶
Filter is a discovery service filter
func ByAPIVersion ¶
ByAPIVersion is a service filter that returns true only if the service has the given API version
func ByDomain ¶
ByDomain is a service filter that returns true only if the service has the given domain
func ByMethod ¶
ByMethod is a service filter that returns true only if the service has the given HTTP method
Click to show internal directories.
Click to hide internal directories.