Documentation
¶
Index ¶
- Variables
- func AddHandler(h context.Handler)
- func Delete(path string, handlers ...context.Handler)
- func EnableCrossOrigin()
- func Get(path string, handlers ...context.Handler)
- func Handle(method string, relativePath string, handlers ...context.Handler)
- func HandleDir(requestPath string, fsOrDir interface{}, opts ...iris.DirOptions) (routes []*router.Route)
- func Iris() *iris.Application
- func Post(path string, handlers ...context.Handler)
- func Put(path string, handlers ...context.Handler)
- func Run(addr string) error
- func SetLogLv(lv string)
- func SetLogOutput(w io.Writer)
- type Jar
- type Req
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// UA is user agent
UA = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.3578.98 Safari/537.36"
)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.