Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
// URLPrefix returns the prefix for all routes of this service.
URLPrefix() string
// RegisterHandlers wires the http handlers for this Service with the given router.
RegisterHandlers(router *mux.Router) error
// Close closes the service.
Close()
}
Service defines routes and handlers for a given entity.
Click to show internal directories.
Click to hide internal directories.