sync

package
v0.0.0-...-5e7dc12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Jira *jira.Client
}

func New

func New(ctx context.Context, logger zerolog.Logger, spec *Spec) (*Client, error)

func (*Client) ID

func (*Client) ID() string

type Spec

type Spec struct {
	Username    string `json:"username"`
	Token       string `json:"token"`
	BaseURL     string `json:"base_url"`
	Concurrency int    `json:"concurrency"`
}

func (*Spec) SetDefaults

func (s *Spec) SetDefaults()

func (*Spec) Validate

func (s *Spec) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL