Documentation ¶ Index ¶ type Config type Installs func GetInstalls() *Installs func New(cfg Config, store kvstore.Store) *Installs func (i *Installs) Add(ctx context.Context, owner, repo string, inst *github.Installation) error func (i *Installs) GetClient(ctx context.Context, owner, repo string) (*github.Client, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { AppID int64 `envconfig:"APP_ID" json:"app_id"` AppPrivateKey string `envconfig:"APP_PRIVATE_KEY" json:"app_private_key"` } type Installs ¶ type Installs struct { Config Config Store kvstore.Store } func GetInstalls ¶ func GetInstalls() *Installs func New ¶ func New(cfg Config, store kvstore.Store) *Installs func (*Installs) Add ¶ func (i *Installs) Add(ctx context.Context, owner, repo string, inst *github.Installation) error func (*Installs) GetClient ¶ func (i *Installs) GetClient(ctx context.Context, owner, repo string) (*github.Client, error) Source Files ¶ View all Source files installs.go Click to show internal directories. Click to hide internal directories.