server

package
v0.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 12 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 interface {
	Host() host.Host
	Proposer() proposer.Proposer
	Chain() chain.Blockchain
	Start()
	Stop() error
	Wallet() wallet.Wallet
}

func NewServer

func NewServer(db blockdb.Database) (Server, error)

NewServer creates a server instance and initializes the ogen services.

Jump to

Keyboard shortcuts

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