acp118

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package acp118 implements ACP-118 message handling

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	// AppRequest handles an incoming request
	AppRequest(ctx context.Context, nodeID ids.NodeID, deadline time.Time, request []byte) ([]byte, error)
}

Handler handles ACP-118 messages

type NoOpHandler added in v1.1.11

type NoOpHandler struct{}

NoOpHandler is a no-op implementation of Handler

func (NoOpHandler) AppRequest added in v1.1.11

func (NoOpHandler) AppRequest(context.Context, ids.NodeID, time.Time, []byte) ([]byte, error)

AppRequest returns an empty response

Jump to

Keyboard shortcuts

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