Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(vs VerifierService)
Run starts HTTP/1 service for scientific names verification.
Types ¶
type VerifierService ¶
type VerifierService interface { // Ping checks if the service is alive. Ping() string // Versioner returns Version of gnames project. gn.Versioner // Port returns port of the HTTP/1 service. Port() int gnames.GNames encode.Encoder }
VerifierService interface is the API behing RESTful service.
func NewVerifierService ¶
NewVerifierService is a constructor for the implementation of the VerifierService interface.
Click to show internal directories.
Click to hide internal directories.