Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetaClientID = "ClientID" MetaPin = "Pin" )
Variables ¶
View Source
var ErrorType = struct { InvalidCredentials string }{ InvalidCredentials: "InvalidCredentials", }
View Source
var LoginMeta = bank.NewLoginMeta(map[string]string{ Meta.ClientID: MetaDescription.ClientID, Meta.Pin: MetaDescription.Pin, })
View Source
var Meta = struct { ClientID string Pin string }{ ClientID: MetaClientID, Pin: MetaPin, }
View Source
var MetaDescription = struct { ClientID string Pin string }{ ClientID: "Account identifier", Pin: "Numeric pass code used to authenticate", }
Functions ¶
func NewLoginDetails ¶
func NewLoginDetails(clientId string, pin string) bank.ILoginDetails
Types ¶
type Bank ¶
type Bank struct{}
func (*Bank) GetLoginMeta ¶
func (*Bank) GetLoginMeta() bank.ILoginMeta
Click to show internal directories.
Click to hide internal directories.