Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Generator ¶
type Generator interface {
Generate() (token ImageToken, err error)
}
type ImageToken ¶
type ImageToken struct { BgImage image.Image `json:"-"` BcImage image.Image `json:"-"` X int `json:"-"` BgImageBase64 string `json:"bg_image_base_64"` BcImageBase64 string `json:"bc_image_base_64"` Token string `json:"token"` }
func (*ImageToken) JSON ¶
func (t *ImageToken) JSON() string
Click to show internal directories.
Click to hide internal directories.