gitwatch

package
v0.32.16 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProducer

func NewProducer(cfg *config.GitWatchConfig) (events.Producer, error)

NewProducer receives a config to build a new EventProducer.

Types

type EventProducer

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

EventProducer implements events.Producer with an attached GRPC connection and a configuration.

func (*EventProducer) Connect

func (e *EventProducer) Connect(ctx context.Context, conn *grpc.ClientConn) error

Connect initializes the producer.

Jump to

Keyboard shortcuts

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