Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enable bool `toml:"enable"` Listen string `toml:"listen"` Gateway GatewayConfig `toml:"gateway"` }
func DefaultConfig ¶
func DefaultConfig() *Config
type GatewayConfig ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(conf *Config, st state.Facade, syn sync.Synchronizer, n network.Network, consMgr consensus.ManagerReader, ) *Server
func (*Server) StartServer ¶
func (*Server) StopServer ¶
func (s *Server) StopServer()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.