Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Billing ¶
type Billing struct { // ID of the associated developer // example: 3 DevID int `json:"dev_id" boil:"dev_id" db:"dev_id"` // ID of the plan being billed // example: 1 PlanID int `json:"plan_id" boil:"plan_id" db:"plan_id"` }
Billing is the junction type of User and Plan swagger:model
type Icon ¶
type Icon struct { // Icon request ID // example: 51 ID int `json:"id" boil:"id" db:"id"` // App name // example: Canva Name string `json:"name" boil:"name" db:"name"` // App component // example: com.canva.editor/com.canva.app.editor.splash.SplashActivity Component string `json:"component" boil:"component" db:"component"` // Play Store URL (may be autogenerated) // example: https://play.google.com/store/apps/details?id=com.canva.editor URL string `json:"url" boil:"url" db:"url"` // Number of requesters // example: 28 Requesters int `json:"requesters" boil:"requesters" db:"requesters"` // Status of request (pending / complete) // example: pending Status string `json:"status" boil:"status" db:"status"` // Name of the Icon pack it belongs to // example: Valacons Pack string `json:"pack" boil:"pack" db:"icon_pack_name"` // Date created at // example: 2020-09-17T03:07:13.418204+05:30 CreatedAt time.Time `json:"created_at" boil:"created_at" db:"created_at"` // Date updated at // example: 2020-09-17T03:07:13.418204+05:30 UpdatedAt time.Time `json:"updated_at" boil:"updated_at" db:"updated_at"` }
Icon is the icon request type swagger:model
type Pack ¶
type Pack struct { // Icon pack ID // example: 2 ID int `json:"id" boil:"id" db:"id"` // Icon pack name // example: Valacons Name string `json:"name" boil:"name" db:"name"` // Icon pack developer username // example: jdoe DevUsername string `json:"developer_username" boil:"developer_username" db:"developer_username"` // Icon pack url (play store) // example: https://play.google.com URL string `json:"url" boil:"url" db:"url"` // Billing status // example: billed BillingStatus string `json:"billing_status" boil:"billing_status" db:"billing_status"` // Date when the pack was added // example: 2020-09-17T03:07:13.418204+05:30 CreatedAt time.Time `json:"created_at" boil:"created_at" db:"created_at"` // Date when the pack was updated // example: 2020-09-17T03:07:13.418204+05:30 UpdatedAt time.Time `json:"updated_at" boil:"updated_at" db:"updated_at"` }
Pack is the icon pack type swagger:model
type Plan ¶
type Plan struct { // Plan ID // example: 5 ID int `json:"id" boil:"id" db:"id"` // Plan name // example: John Doe Name string `json:"name" boil:"name" db:"name"` // Plan description // example: Best suited for experienced icon pack devs. Description string `json:"description" boil:"description" db:"description"` // Plan introduction // example: Pro Intro string `json:"intro" boil:"intro" db:"intro"` // Plan price per month // example: $1.99 Price string `json:"price" boil:"price" db:"price"` // Billing cycle in days // example: 30 BillingCycle int `json:"billing_cycle" boil:"billing_cycle" db:"billing_cycle"` // Date when the plan was added // example: 2020-09-17T03:07:13.418204+05:30 CreatedAt time.Time `json:"created_at" boil:"created_at" db:"created_at"` // Date when the plan was updated // example: 2020-09-17T03:07:13.418204+05:30 UpdatedAt time.Time `json:"updated_at" boil:"updated_at" db:"updated_at"` }
Plan is the plan type swagger:model
type User ¶
type User struct { // User ID // example: 24 ID int `json:"id" boil:"id" db:"id"` // User role (admin | developer) // example: developer Role string `json:"role" boil:"role" db:"role"` // User name // example: John Doe Name string `json:"name" boil:"name" db:"name"` // User username // example: jdoe Username string `json:"username" boil:"username" db:"username"` // User email // example: jdoe@gmail.com Email string `json:"email" boil:"email" db:"email"` // User website // example: https://jdoe.co URL string `json:"url" boil:"url" db:"url"` // Date when the User was added // example: 2020-09-17T03:07:13.418204+05:30 CreatedAt time.Time `json:"created_at" boil:"created_at" db:"created_at"` // Date when the User was updated // example: 2020-09-17T03:07:13.418204+05:30 UpdatedAt time.Time `json:"updated_at" boil:"updated_at" db:"updated_at"` }
User is the generic user type swagger:model
Click to show internal directories.
Click to hide internal directories.