micro/server/mucp/mucp.go

16 lines
292 B
Go
Raw Normal View History

2020-08-22 18:36:03 +03:00
// Package mucp provides a transport agnostic RPC server
2019-06-08 21:40:44 +03:00
package mucp
2016-03-14 13:45:38 +03:00
import (
"github.com/micro/go-micro/v3/server"
)
var (
DefaultRouter = newRpcRouter()
2016-03-14 13:45:38 +03:00
)
2018-11-20 13:30:53 +03:00
// NewServer returns a micro server interface
2016-03-14 13:45:38 +03:00
func NewServer(opts ...server.Option) server.Server {
return newServer(opts...)
2016-03-14 13:45:38 +03:00
}