gitspaceevent

package
v1.0.4-gitspaces-beta Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

WireSet provides a wire set for this package.

Functions

This section is empty.

Types

type Config

type Config struct {
	EventReaderName string
	Concurrency     int
	MaxRetries      int
}

func (*Config) Sanitize

func (c *Config) Sanitize() error

type Service

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

func NewService

func NewService(
	ctx context.Context,
	config *Config,
	gitspaceEventReaderFactory *events.ReaderFactory[*gitspaceevents.Reader],
	gitspaceEventStore store.GitspaceEventStore,
) (*Service, error)

func ProvideService

func ProvideService(ctx context.Context,
	config *Config,
	gitspaceEventReaderFactory *events.ReaderFactory[*gitspaceevents.Reader],
	gitspaceEventStore store.GitspaceEventStore,
) (*Service, error)

Jump to

Keyboard shortcuts

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