cms

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNotifier

type MockNotifier struct {
	mock.Mock
}

func (*MockNotifier) Check added in v0.2.12

func (m *MockNotifier) Check() error

func (*MockNotifier) Notify

func (m *MockNotifier) Notify(origin string, tid string, content *native.Content, hash string) error

type Notifier

type Notifier interface {
	Notify(origin string, tid string, content *native.Content, hash string) error
	Check() error
}

Notifier handles the publishing of the content to the cms-notifier

func NewNotifier

func NewNotifier(notifierURL string, client cluster.HttpClient) (Notifier, error)

NewNotifier returns a new cms notifier instance

Jump to

Keyboard shortcuts

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