common

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceName = "substrate"
	Protocol    = "/substrate/v1"
	MinPeers    = 0
	MaxPeers    = 4
)

Variables

View Source
var Logger = log.Logger("substrate.service.p2p")

Functions

This section is empty.

Types

type MatchDefinition

type MatchDefinition struct {
	Project     string
	Application string
	Protocol    string
	Command     string
}

func (*MatchDefinition) CachePrefix

func (m *MatchDefinition) CachePrefix() string

func (*MatchDefinition) String

func (m *MatchDefinition) String() string

Jump to

Keyboard shortcuts

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