Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceTransfer ¶
type BalanceTransfer struct { ID string `json:"id"` Created time.Time `json:"created"` Owner string `json:"owner"` OwnerType OwnerType `json:"owner_type"` PaymentType PaymentType `json:"payment_type"` Amount int `json:"amount"` Data BalanceTransferData `json:"data"` }
type BalanceTransferData ¶
type JobData ¶
type JobData struct { Spec JobSpec `json:"spec"` Container data.JobOfferContainer `json:"container"` }
type PaymentType ¶
type PaymentType string
const ( PaymentTypeAdmin PaymentType = "admin" PaymentTypeStripe PaymentType = "stripe" PaymentTypeJob PaymentType = "job" )
type RequestContext ¶
passed between the api server and the controller
type UserStatus ¶
type WebsocketEvent ¶
type WebsocketEvent struct { Type WebsocketEventType `json:"type"` Job *Job `json:"job"` }
type WebsocketEventType ¶
type WebsocketEventType string
const (
WebsocketEventJobUpdate WebsocketEventType = "job"
)
Click to show internal directories.
Click to hide internal directories.