Documentation ¶
Overview ¶
Package genericpam provides a client for the reference PAM implementation
Index ¶
- Constants
- type GenericPam
- func (c *GenericPam) AddTransaction(rm pam.AddTransactionRequestMapper) (*pam.TransactionResult, error)
- func (c *GenericPam) GetBalance(rm pam.GetBalanceRequestMapper) (*pam.Balance, error)
- func (c *GenericPam) GetGameRound(rm pam.GetGameRoundRequestMapper) (*pam.GameRound, error)
- func (c *GenericPam) GetSession(rm pam.GetSessionRequestMapper) (*pam.Session, error)
- func (c *GenericPam) GetTransactionSupplier() pam.TransactionSupplier
- func (c *GenericPam) GetTransactions(rm pam.GetTransactionsRequestMapper) ([]pam.Transaction, error)
- func (c *GenericPam) RefreshSession(rm pam.RefreshSessionRequestMapper) (*pam.Session, error)
Constants ¶
View Source
const (
DriverName = "generic"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericPam ¶
type GenericPam struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(cfg configs.PamConf, client rest.HTTPClientJSONInterface) (*GenericPam, error)
func (*GenericPam) AddTransaction ¶
func (c *GenericPam) AddTransaction(rm pam.AddTransactionRequestMapper) (*pam.TransactionResult, error)
func (*GenericPam) GetBalance ¶
func (c *GenericPam) GetBalance(rm pam.GetBalanceRequestMapper) (*pam.Balance, error)
func (*GenericPam) GetGameRound ¶
func (c *GenericPam) GetGameRound(rm pam.GetGameRoundRequestMapper) (*pam.GameRound, error)
func (*GenericPam) GetSession ¶
func (c *GenericPam) GetSession(rm pam.GetSessionRequestMapper) (*pam.Session, error)
func (*GenericPam) GetTransactionSupplier ¶ added in v0.6.0
func (c *GenericPam) GetTransactionSupplier() pam.TransactionSupplier
func (*GenericPam) GetTransactions ¶
func (c *GenericPam) GetTransactions(rm pam.GetTransactionsRequestMapper) ([]pam.Transaction, error)
func (*GenericPam) RefreshSession ¶
func (c *GenericPam) RefreshSession(rm pam.RefreshSessionRequestMapper) (*pam.Session, error)
Click to show internal directories.
Click to hide internal directories.