本文整理匯總了Golang中github.com/go-martini/martini.Router.Any方法的典型用法代碼示例。如果您正苦於以下問題:Golang Router.Any方法的具體用法?Golang Router.Any怎麽用?Golang Router.Any使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類github.com/go-martini/martini.Router
的用法示例。
在下文中一共展示了Router.Any方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Golang代碼示例。
示例1: Router
func Router(m martini.Router) {
m.Any("/upload", videoupload)
m.Any("/list/:id", clientlist)
m.Any("/list", videolist)
m.Any("/reg/:id", reg)
m.Any("/active/:id", active)
m.Any("/version/:id", videoversion)
m.Any("/uploadpage", uploadpage)
//m.Any("/upload", videouploadpage)
m.Any("/del/:id", del)
m.Any("/changename/:id/:name", changename)
m.Any("/index", videoindex)
m.Any("/clients", clients)
m.Any("/client/add/:id", client_add)
m.Any("/client/videoadd/:id/:videoid", client_video_add)
m.Any("/client/videochange/:id/:idx/:videoid", client_video_change)
m.Any("/client/videodel/:id/:idx", client_video_del)
m.Any("/client/del/:id", client_del)
m.Any("/program/version", programVersion)
m.Any("/program/upload", programUpload)
m.Any("/program/delete/:version", programDel)
m.Any("/program/list", programList)
m.Any("/program/reset", reset)
m.Any("/status/:id", client_status)
}