Documentation ¶
Overview ¶
Handles requests about generic capabilities of the server Any requests specific to a resource are handled by that resource's Route.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerCapabilityRoute ¶
type ServerCapabilityRoute struct { Target string Controller ServerResource }
func NewRoute ¶
func NewRoute(target string) *ServerCapabilityRoute
func (*ServerCapabilityRoute) Route ¶
func (route *ServerCapabilityRoute) Route(requested http.RequestMessage) http.Request
type ServerResource ¶
Reports the global, generic capabilities of this server, without regard to resource or state
type StaticCapabilityServer ¶
type StaticCapabilityServer struct {
AvailableMethods []string
}
Reports on server capabilities that are defined during startup and do not change after that
func (*StaticCapabilityServer) Options ¶
func (controller *StaticCapabilityServer) Options(client io.Writer)
Click to show internal directories.
Click to hide internal directories.