MCPcopy Create free account
hub / github.com/BryanMwangi/pine / Post

Method Post

pine.go:309–311  ·  view source on GitHub ↗
(path string, handlers ...Handler)

Source from the content-addressed store, hash-verified

307 server.AddRoute(MethodGet, path, handlers...)
308}
309func (server *Server) Post(path string, handlers ...Handler) {
310 server.AddRoute(MethodPost, path, handlers...)
311}
312func (server *Server) Put(path string, handlers ...Handler) {
313 server.AddRoute(MethodPut, path, handlers...)
314}

Callers

nothing calls this directly

Calls 1

AddRouteMethod · 0.95

Tested by

no test coverage detected