micro/server/mucp/mucp.go
2020-08-22 16:36:03 +01:00

16 lines
292 B
Go

// Package mucp provides a transport agnostic RPC server
package mucp
import (
"github.com/micro/go-micro/v3/server"
)
var (
DefaultRouter = newRpcRouter()
)
// NewServer returns a micro server interface
func NewServer(opts ...server.Option) server.Server {
return newServer(opts...)
}