wallet

package
v0.0.0-...-d8ef1d0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// Fetch Member Balance fetches the provided characters balance from ESI and stores it in the repository
	FetchMemberBalance(ctx context.Context, member *athena.Member) (*athena.Etag, error)
	MemberBalance(ctx context.Context, member *athena.Member) (*athena.MemberWalletBalance, error)

	// Fetch Member Wallet Transactions fetches the provided characters transactions from ESI and stores them in the repository
	FetchMemberWalletTransactions(ctx context.Context, member *athena.Member) (*athena.Etag, error)

	// Fetch Member Wallet Journals fetches the provided characters jounral entries from ESI and stores them in the repository
	FetchMemberWalletJournals(ctx context.Context, member *athena.Member) (*athena.Etag, error)
}

func NewService

func NewService(
	logger *logrus.Logger,

	cache cache.Service, esi esi.Service, universe universe.Service,
	alliance alliance.Service, corporation corporation.Service, character character.Service,

	wallet athena.MemberWalletRepository,
) Service

Jump to

Keyboard shortcuts

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