Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleConfig ¶
type ExampleConfig struct {
a.BaseAdminConfig // making this struct implement IRestCustomConfig automatically
}
ExampleConfig a container for all the specific config items for HAMP
func Config ¶
func Config(appContext r.AppContext) *ExampleConfig
Config returns the specific server config items
type ExampleConfigFile ¶
type ExampleConfigFile struct { c.JSONConfigFile // a HAMP config file is a JsonConfigFile ExampleConfig *ExampleConfig `json:"ExampleConfig"` }
ExampleConfigFile allows to pass specific config items to the HAMP app
func (*ExampleConfigFile) GetCustomConfig ¶
func (thisFile *ExampleConfigFile) GetCustomConfig() c.ICustomConfig
GetCustomConfig helps implement the IConfigFile interface
Click to show internal directories.
Click to hide internal directories.