Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
func NewApplication ¶
func NewApplication(name string, configFile string, logFile string) *Application
func (*Application) CreateServer ¶
func (*Application) Run ¶
func (a *Application) Run(servers []func(ctx context.Context, a *Application) func() error)
type Config ¶
type Config struct { Pastel PastelConfiguration `yaml:"pastel"` REST RESTServerConfiguration `yaml:"rest"` P2P P2PConfiguration `yaml:"p2p"` }
func (*Config) LoadConfig ¶
type P2PConfiguration ¶
type PastelConfiguration ¶
type RESTServerConfiguration ¶
Click to show internal directories.
Click to hide internal directories.