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-07-27 13:22:00 +01:00
|
|
|
"github.com/micro/go-micro/v3/server"
|
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
}
|