dev

package
v1.2.19 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: GPL-3.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type P2pHandler

type P2pHandler func([]byte) ([]byte, error)

P2pHandler is a p2p server handler. You can define the services in P2P server. Just like TCP handler.

type Reading

type Reading func(ctx *ReadContext)

Reading Developers define the 'Reading' in the pod to let clients query the blockchain. This operation has no consensus reached in the blockchain network. respObj is a json object

type Writing

type Writing func(ctx *WriteContext) error

Writing Developers define the 'Writing' in the pod to let clients call. Just like transactions in ETH

Jump to

Keyboard shortcuts

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