Versions in this module Expand all Collapse all v1 v1.2.1 Mar 15, 2020 Changes in this version + type FDataParsing func(topic string, u *url.URL, msg []byte) (bean interface{}, err error) + type FSelector func(topic string, u *url.URL) (s module.ServerSession, err error) + type Option func(*UriRoute) + func CallTimeOut(t time.Duration) Option + func DataParsing(t FDataParsing) Option + func Selector(t FSelector) Option + type UriRoute struct + CallTimeOut time.Duration + DataParsing FDataParsing + Selector FSelector + func NewUriRoute(module module.RPCModule, opts ...Option) *UriRoute + func (this *UriRoute) OnRoute(session gate.Session, topic string, msg []byte) (bool, interface{}, error)