mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-23 21:44:41 +02:00
feat(web): add start and stop functions to the web (#2519)
This commit is contained in:
@@ -16,6 +16,8 @@ type Service interface {
|
||||
Options() Options
|
||||
Handle(pattern string, handler http.Handler)
|
||||
HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
|
||||
Start() error
|
||||
Stop() error
|
||||
Run() error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user