algod

package
v0.0.0-...-15eb78e Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	RootPath string
	Genesis  bookkeeping.Genesis
	// contains filtered or unexported fields
}

Server represents an instance of the REST API HTTP server 서버는 REST API HTTP 서버의 인스턴스를 나타냅니다.

func (*Server) Initialize

func (s *Server) Initialize(cfg config.Local, phonebookAddresses []string, genesisText string) error

Initialize creates a Node instance with applicable network services Initialize는 적용 가능한 네트워크 서비스로 노드 인스턴스를 생성합니다.

func (*Server) Start

func (s *Server) Start()

Start starts a Node instance and its network services Start는 Node 인스턴스와 네트워크 서비스를 시작합니다.

func (*Server) Stop

func (s *Server) Stop()

Stop initiates a graceful shutdown of the node by shutting down the network server. 중지는 네트워크 서버를 종료하여 노드의 정상적인 종료를 시작합니다.

Directories

Path Synopsis
api
server
Package server Algod REST API.
Package server Algod REST API.
server/lib
Code generated by bundle_swagger_json.sh, along with swagger.json.
Code generated by bundle_swagger_json.sh, along with swagger.json.
server/v1/handlers
Package handlers handles and helps specify the algod/api
Package handlers handles and helps specify the algod/api
server/v2/generated
Package generated provides primitives to interact the openapi HTTP API.
Package generated provides primitives to interact the openapi HTTP API.
server/v2/generated/private
Package private provides primitives to interact the openapi HTTP API.
Package private provides primitives to interact the openapi HTTP API.
spec/common
Package common defines models exposed by algod rest api
Package common defines models exposed by algod rest api
spec/v1
Package v1 defines models exposed by algod rest api
Package v1 defines models exposed by algod rest api

Jump to

Keyboard shortcuts

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