Documentation ¶ Index ¶ func New(logger zerolog.Logger, spec Spec, services *xkcd.Client, bk state.Client) schema.ClientMeta func TestHelper(t *testing.T, table *schema.Table, ts *httptest.Server) type Client func (*Client) ID() string type Spec func (s *Spec) SetDefaults() func (Spec) Validate() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(logger zerolog.Logger, spec Spec, services *xkcd.Client, bk state.Client) schema.ClientMeta func TestHelper ¶ func TestHelper(t *testing.T, table *schema.Table, ts *httptest.Server) Types ¶ type Client ¶ type Client struct { Logger zerolog.Logger XKCD *xkcd.Client Backend state.Client } func (*Client) ID ¶ func (*Client) ID() string type Spec ¶ type Spec struct { Concurrency int `json:"concurrency,omitempty"` } func (*Spec) SetDefaults ¶ func (s *Spec) SetDefaults() func (Spec) Validate ¶ func (Spec) Validate() error Source Files ¶ View all Source files client.go spec.go testing.go Click to show internal directories. Click to hide internal directories.