Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OreoRouter ¶
type OreoRouter struct {
// contains filtered or unexported fields
}
func (*OreoRouter) Listen ¶
func (r *OreoRouter) Listen(port string, handler http.Handler, result string)
Listening and serving on port Result ensures that serving is done Handler might be nil
func (*OreoRouter) Req ¶
func (r *OreoRouter) Req(path string, handler http.HandlerFunc)
Request a path e.g. /login Handler is ServerHTTP
func (*OreoRouter) ServeHTTP ¶
func (r *OreoRouter) ServeHTTP(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.