service

package
v0.0.0-...-6b59494 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Provide(registerScrapperService),
	fx.Provide(registerOrderService),
)

Functions

This section is empty.

Types

type OrderService

type OrderService interface {
	GetOrders() []*dto.Order
	GetOrder(id int) (*dto.Order, error)
	AddOrder(order *dto.Order)
	UpdateOrder(order *dto.Order)
	DeleteOrder(id int)
}

type ScrapperService

type ScrapperService interface {
	Scrape() error
}

Jump to

Keyboard shortcuts

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