Documentation ¶
Overview ¶
Package neuron will help one to config neuron as per the entries made in the configuration file. This will help in enabling API and UI as well.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConfResponse = conf.ConfigResponse{}
)
This holds configuration response from ConfigNeuron, this will let other functions/methods take decision further.
Functions ¶
func CliMeta ¶
CliMeta will help in configuring neuron amd make it callable from cli, all one has to do is to call this function before using cli.
func EnableNeuronApi ¶
func EnableNeuronApi(config conf.ConfigResponse)
EnableNeuronApi will help in enablement of API.
Types ¶
type Config ¶
Config will help one to set few things before they call the methods to initialize/start neuron.
func (*Config) ConfigureNeuron ¶
ConfigureNeuron will call method ConfigNeuron of config to configure neron, so that it will be operable.
Click to show internal directories.
Click to hide internal directories.