2019-06-08 19:40:44 +01:00
|
|
|
// Package mucp provides an mucp server
|
|
|
|
package mucp
|
2016-03-14 10:45:38 +00:00
|
|
|
|
|
|
|
import (
|
2020-08-19 17:47:17 +03:00
|
|
|
"github.com/unistack-org/micro/v3/server"
|
2020-07-27 13:22:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
DefaultRouter = newRpcRouter()
|
2016-03-14 10:45:38 +00:00
|
|
|
)
|
|
|
|
|
2018-11-20 10:30:53 +00:00
|
|
|
// NewServer returns a micro server interface
|
2016-03-14 10:45:38 +00:00
|
|
|
func NewServer(opts ...server.Option) server.Server {
|
2020-07-27 13:22:00 +01:00
|
|
|
return newServer(opts...)
|
2016-03-14 10:45:38 +00:00
|
|
|
}
|