Documentation ¶
Index ¶
- type Card
- func (c *Card) FindOrCreateCard() (*Card, error)
- func (c *Card) GenerateBasePaymentMacaroon() ([]byte, error)
- func (c *Card) GenerateSymmetricKey() ([]byte, error)
- func (c Card) GetCardId() string
- func (c Card) GetHost() string
- func (c Card) GetPort() string
- func (c *Card) GrpcReponse() (*proto.CardResponse, error)
- func (c *Card) RegisterCardInDAS() ([]*secp256k1.PublicKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Card struct { DB *db.DB `json:"-"` CardId string `json:"card_id"` Host string `json:"host"` Port string `json:"port"` CardKey []byte `json:"-"` PubCardKey []byte `json:"-"` BasePaymentMacaroon []byte `json:"-"` SumPubDASCardKey []byte `json:"-"` }
func (*Card) FindOrCreateCard ¶
func (*Card) GenerateBasePaymentMacaroon ¶
func (*Card) GenerateSymmetricKey ¶
func (*Card) GrpcReponse ¶
func (c *Card) GrpcReponse() (*proto.CardResponse, error)
Click to show internal directories.
Click to hide internal directories.