Discover Packages
github.com/onflow/flow-go
module
ingress
package
Version:
v0.14.0-patch.1
Opens a new window with list of versions in this module.
Published: Feb 5, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package ingress implements accepting transactions into the system.
It implements a subset of the Observation API.
type Config struct {
ListenAddr string
MaxMsgSize int
}
Config defines the configurable options for the ingress server.
Ingress implements a gRPC server with a simplified version of the Observation
API to enable receiving transactions into the system.
New returns a new ingress server.
func (i *Ingress ) Done() <-chan struct{}
Done returns a done channel that is closed once the module has fully stopped.
It sends a signal to stop the gRPC server, then closes the channel.
func (i *Ingress ) Ready() <-chan struct{}
Ready returns a ready channel that is closed once the module has fully
started. The ingress module is ready when the gRPC server has successfully
started.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.