- Building Microservices with Go
- Nic Jackson
- 49字
- 2021-07-15 17:28:03
StripPrefix
The StripPrefix function returns a handler that serves HTTP requests by removing the given prefix from the request URL's path and then invoking h handler. If a path does not exist, then StripPrefix will reply with an HTTP 404 not found error:
func StripPrefix(prefix string, h Handler) Handler
推薦閱讀
- Spring 5.0 By Example
- 程序員面試算法寶典
- 機(jī)器人Python青少年編程開發(fā)實(shí)例
- AutoCAD VBA參數(shù)化繪圖程序開發(fā)與實(shí)戰(zhàn)編碼
- C語言實(shí)驗(yàn)指導(dǎo)及習(xí)題解析
- concrete5 Cookbook
- uni-app跨平臺(tái)開發(fā)與應(yīng)用從入門到實(shí)踐
- TypeScript 2.x By Example
- PHP+MySQL動(dòng)態(tài)網(wǎng)站開發(fā)從入門到精通(視頻教學(xué)版)
- Neo4j 3.x入門經(jīng)典
- Android高級(jí)開發(fā)實(shí)戰(zhàn):UI、NDK與安全
- Java 11 and 12:New Features
- Isomorphic Go
- Java Web入門很輕松(微課超值版)
- SQL Server 2014數(shù)據(jù)庫設(shè)計(jì)與開發(fā)教程(微課版)