noop

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

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

func New

func New(logger log.Logger, _ *prometheus.Registry) *Publisher

func (*Publisher) Close

func (p *Publisher) Close() error

func (Publisher) Name

func (s Publisher) Name() string

func (*Publisher) Publish

func (p *Publisher) Publish(_ context.Context, request *apis.PublishRequest) (*apis.PublishResponse, error)

func (*Publisher) PublishAsync

func (p *Publisher) PublishAsync(_ context.Context, request *apis.PublishRequest, callback apis.PublishCallbackFunc) error

func (*Publisher) Serve

func (p *Publisher) Serve() error

func (*Publisher) Shutdown

func (p *Publisher) Shutdown(err error)

Jump to

Keyboard shortcuts

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