genericpam

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package genericpam provides a client for the reference PAM implementation

Index

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 (*GenericPam) AddTransaction

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)

Jump to

Keyboard shortcuts

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