maximo tejeda ceb402a65d
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
INITIAL COMMIT
2024-07-21 11:40:07 -04:00

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