instrument

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: 6 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(delegate apis.Publisher, registry *prometheus.Registry) *Publisher

func (*Publisher) Close

func (p *Publisher) Close() error

func (*Publisher) Name

func (p *Publisher) Name() string

func (*Publisher) Publish

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

func (*Publisher) PublishAsync

func (p *Publisher) PublishAsync(context context.Context, publishRequest *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