gsoc

package
v2.8.3-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: BSD-3-Clause Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(*soc.SOC)

Handler defines code to be executed upon reception of a GSOC sub message. it is used as a parameter definition. It receives the recovered single owner chunk so the consumer has access to all of its properties.

type Listener

type Listener interface {
	Subscribe(address swarm.Address, handler Handler) (cleanup func())
	Handle(c *soc.SOC)
	Close() error
}

func New

func New(logger log.Logger) Listener

New returns a new GSOC listener service.

Jump to

Keyboard shortcuts

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