Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type RestServer ¶
type RestServer interface {
StartListen()
}
func NewApi ¶
func NewApi(p Props) (RestServer, error)
func NewRestService ¶
func NewRestService(listen string, dataStore db.DataStorer, dataDir string, converter convert.Converter) RestServer
type RestService ¶
type RestService struct {
// contains filtered or unexported fields
}
func (RestService) StartListen ¶
func (service RestService) StartListen()
Click to show internal directories.
Click to hide internal directories.