mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-30 10:10:44 +02:00
Update api.go
This commit is contained in:
parent
667ee9b85e
commit
73dc3723c7
@ -18,13 +18,13 @@ type Api interface {
|
||||
Init(...Option) error
|
||||
// Get the options
|
||||
Options() Options
|
||||
// Register a http handler
|
||||
// Register an endpoint
|
||||
Register(*Endpoint) error
|
||||
// Register a route
|
||||
// Deregister an endpoint
|
||||
Deregister(*Endpoint) error
|
||||
// Run the api
|
||||
Run(context.Context) error
|
||||
// Implemenation of api
|
||||
// Implemenation of api e.g http
|
||||
String() string
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user