Documentation ¶
Overview ¶
Package types contents types for server and client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cart ¶
type Cart struct { Number string `json:"number"` Expired string `json:"expired"` Holder string `json:"holder"` CVC string `json:"cvc"` Info []string `json:"info,omitempty"` }
Cart implements bank plastic cart secret.
type Claims ¶
type Claims struct { Login string `json:"login"` jwt.RegisteredClaims }
Claims type for jwt tokens
type Login ¶
type Login struct { Login string `json:"login"` Password string `json:"password,omitempty"` Info []string `json:"info,omitempty"` }
Login type implements login secret.
Click to show internal directories.
Click to hide internal directories.