common

package
v6.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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