gsoc

package
v2.5.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func([]byte)

Handler defines code to be executed upon reception of a GSOC sub message. it is used as a parameter definition.

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