All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
14 lines
453 B
Go
14 lines
453 B
Go
package ports
|
|
|
|
import "github.com/maximotejeda/us_dop_bot/internal/application/domain"
|
|
|
|
type DolarService interface {
|
|
GetLatest(name string) (*domain.History, error)
|
|
GetSince(name string, duration int64) ([]*domain.History, error)
|
|
GetInstByType(name string) ([]string, error)
|
|
Subscribe(int64, string) (bool, error)
|
|
Unsubscribe(int64, string) (bool, error)
|
|
GetSubscribedUsers(string) ([]int64, error)
|
|
GetSubscribedInsts(int64) ([]string, error)
|
|
}
|