Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInconsistentIDs = errors.New("inconsistent IDs") ErrAlreadyExists = errors.New("already exists") ErrNotFound = errors.New("not found") )
View Source
var ( // ErrBadRouting is returned when an expected path variable is missing. // It always indicates programmer error. ErrBadRouting = errors.New("inconsistent mapping between route and handler (programmer error)") )
View Source
var ErrEmpty = errors.New("Empty string")
Functions ¶
func MakeTestEndpoint ¶
func MakeUppercaseEndpoint ¶
Types ¶
type Endpoints ¶
func MakeEndpoints ¶
type Middleware ¶
func LoggingMiddleware ¶
func LoggingMiddleware(logger log.Logger) Middleware
Click to show internal directories.
Click to hide internal directories.