update api

This commit is contained in:
Asim Aslam
2020-10-17 15:36:05 +01:00
parent 975da990a9
commit be06de5c47

View File

@@ -21,7 +21,7 @@ type Gateway interface {
// Deregister a route
Deregister(*Endpoint) error
// Register http handler
Handle(path string, hd http.Handler)
Handle(string, http.Handler)
// Start serving requests
Serve() error
// Implementation of api