api

package
v0.0.0-...-80ac902 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Props

type Props struct {
	fx.In

	AppConfig *config.App
	Converter convert.Converter
	DB        db.DataStorer
}

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL