Documentation ¶ Index ¶ func NewMatcherService(gnm gnmatcher.GNMatcher, port int, enc encode.Encoder) matcherREST func Run(m MatcherService) type MatcherService Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewMatcherService ¶ added in v0.3.5 func NewMatcherService(gnm gnmatcher.GNMatcher, port int, enc encode.Encoder) matcherREST NewMNewMatcherREST is a constructor for MatchREST. func Run ¶ func Run(m MatcherService) Run creates and runs the HTTP API service of gnmatcher. Types ¶ type MatcherService ¶ added in v0.3.3 type MatcherService interface { // Port returns the port of the service. Port() int // Ping checks connection to the service. Ping() string mlib.Matcher encode.Encoder } MatcherService describes remote service of gnmatchter. Source Files ¶ View all Source files interface.gomatch_service.gorest.go Click to show internal directories. Click to hide internal directories.