Documentation
¶
Index ¶
- type Publisher
- func (p *Publisher) Close() error
- func (s Publisher) Name() string
- func (p *Publisher) Publish(_ context.Context, request *apis.PublishRequest) (*apis.PublishResponse, error)
- func (p *Publisher) PublishAsync(_ context.Context, request *apis.PublishRequest, ...) error
- func (p *Publisher) Serve() error
- func (p *Publisher) Shutdown(err error)
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 (*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
Click to show internal directories.
Click to hide internal directories.