service

package
v0.18.4 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service int
const (
	None    Service = 0x00
	Network Service = 0x01
	Gossip  Service = 0x02
)

type Services

type Services int

func New

func New(flags ...Service) Services

func (*Services) Append

func (s *Services) Append(flag Service)

func (Services) IsGossip

func (s Services) IsGossip() bool

func (Services) IsNetwork

func (s Services) IsNetwork() bool

func (Services) String

func (s Services) String() string

Jump to

Keyboard shortcuts

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