Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicAuthUser ¶
type TasquesServer ¶
type TasquesServer struct { Address string `json:"address" mapstructure:"address"` BasePath *string `json:"base_path,omitempty" mapstructure:"base_path"` Schemes *[]string `json:"schemes,omitempty" mapstructure:"schemes"` Auth *BasicAuthUser `json:"auth,omitempty" mapstructure:"auth"` }
func (*TasquesServer) BuildClient ¶
func (t *TasquesServer) BuildClient() *client.Tasques
type TasquesWorker ¶
type TasquesWorker struct { ID WorkerId `json:"id" mapstructure:"id"` ClaimAmount uint `json:"claim_amount" mapstructure:"claim_amount"` BlockFor time.Duration `json:"block_for" mapstructure:"block_for"` LoopStopTimeout time.Duration `json:"loop_exit_wait" mapstructure:"loop_exit_wait"` Server TasquesServer `json:"server" mapstructure:"server"` }
Click to show internal directories.
Click to hide internal directories.