protocol

package
v0.0.0-...-d5b0b98 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Protocol

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

Protocol is the protocol of processor events

func New

func New(h *handler.Handler, opts *options.Options) (*Protocol, error)

New creates a new protocol

func (*Protocol) Start

func (s *Protocol) Start() error

Start initialize some operations

func (*Protocol) Stop

func (s *Protocol) Stop() error

Stop stops the protocol handlers gracefully.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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