notifier

package
v1.87.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

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

Notifier sends messages stating that an OID has been rewritten, looking up the type of the OID if necessary. It is not safe for concurrent use

func New

func New(ctx context.Context, repo *gitalypb.Repository, chunker *chunk.Chunker) (*Notifier, error)

New instantiates a new Notifier

func (*Notifier) Notify

func (n *Notifier) Notify(oldOid, newOid string, isInternalRef bool) error

Notify builds a new message and sends it to the chunker

Jump to

Keyboard shortcuts

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