service

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: BSD-3-Clause Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandService

type CommandService struct {
	// contains filtered or unexported fields
}

func New

func New(peer *peer.Node, name string, path string) (*CommandService, error)

func (*CommandService) Define

func (cs *CommandService) Define(command string, handler router.CommandHandler) error

func (*CommandService) Router

func (cs *CommandService) Router() *(router.Router)

func (*CommandService) Stop

func (cs *CommandService) Stop()

Jump to

Keyboard shortcuts

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