Documentation ¶
Overview ¶
Package otohttp provides JSON/HTTP RPC API support for Oto defined services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct { // Basepath is the path prefix to match. // Default: /oto/ Basepath string // NotFound is the http.Handler to use when a resource is // not found. NotFound http.Handler // OnErr is called when there is an error. OnErr func(w http.ResponseWriter, r *http.Request, err error) // contains filtered or unexported fields }
Server handles oto requests.
Click to show internal directories.
Click to hide internal directories.