giteaintegration

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	URL             string `mapstructure:"url" yaml:"url"`
	Token           string `mapstructure:"token" yaml:"token"`
	IntervalSeconds int    `mapstructure:"intervalSeconds" yaml:"intervalSeconds"`
	ListIntervalMs  int    `mapstructure:"listIntervalMs" yaml:"listIntervalMs"`
}

func (*Config) Validate

func (c *Config) Validate() error

type Integration

type Integration struct {
	// contains filtered or unexported fields
}

func NewIntegration

func NewIntegration(
	c Config,
	gitRepo domain.GitRepositoryRepository,
	userRepo domain.UserRepository,
) (*Integration, error)

func (*Integration) Shutdown

func (i *Integration) Shutdown() error

func (*Integration) Start

func (i *Integration) Start() error

Jump to

Keyboard shortcuts

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