update api
This commit is contained in:
@@ -21,7 +21,7 @@ type Gateway interface {
|
|||||||
// Deregister a route
|
// Deregister a route
|
||||||
Deregister(*Endpoint) error
|
Deregister(*Endpoint) error
|
||||||
// Register http handler
|
// Register http handler
|
||||||
Handle(path string, hd http.Handler)
|
Handle(string, http.Handler)
|
||||||
// Start serving requests
|
// Start serving requests
|
||||||
Serve() error
|
Serve() error
|
||||||
// Implementation of api
|
// Implementation of api
|
||||||
|
Reference in New Issue
Block a user