Versions in this module Expand all Collapse all v1 v1.0.0 Apr 20, 2023 Changes in this version + var DefaultBackend = "http://localhost:9090" + var DefaultRouter = &Router + func NewService(opts ...micro.Option) micro.Service + func RegisterEndpoint(rpcEp string, httpEp string) error + func WithBackend(url string) micro.Option + func WithRouter(r server.Router) micro.Option + type Resolver struct + func (r *Resolver) Resolve(ep string) string + type Router struct + Backend string + Resolver *Resolver + func NewSingleHostRouter(url string) *Router + func (p *Router) Endpoint(rpcEp string) (string, error) + func (p *Router) ProcessMessage(ctx context.Context, msg server.Message) error + func (p *Router) RegisterEndpoint(rpcEp, httpEp string) error + func (p *Router) ServeRequest(ctx context.Context, req server.Request, rsp server.Response) error