Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Return an error if request body exceeds this size. 0 means
// unlimited.
MaxRequestSize int
// If wrapCalls is not nil, it is called once for each API
// method, and the returned method is used in its place. This
// can be used to install hooks before and after each API call
// and alter responses; see localdb.WrapCallsInTransaction for
// an example.
WrapCalls func(api.RoutableFunc) api.RoutableFunc
}
Source Files
¶
- error.go
- request.go
- response.go
- router.go
Click to show internal directories.
Click to hide internal directories.