Documentation
¶
Index ¶
- func ConstServerProps() map[string]string
- func DefaultServerProps() map[string]string
- func ExecuteTemplate(tmplStr string, data any) (string, error)
- func GenServerProps(userProps map[string]string) (string, error)
- func MergeMap(m1, m2 map[string]string) map[string]string
- func ParseServerProps(r io.Reader) (map[string]string, error)
- func ParseServerPropsFromPath(path string) (_ map[string]string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstServerProps ¶ added in v0.7.0
ConstServerProps returns the constant server properties. This property cannot be overridden by the user.
func DefaultServerProps ¶ added in v0.7.0
DefaultServerProps returns the default server properties.
func ExecuteTemplate ¶ added in v0.7.0
ExecuteTemplate parses and executes a template string with the given data.
func GenServerProps ¶
GenServerProps generates server.properties content.
func ParseServerProps ¶ added in v0.4.0
ParseServerProps parses server.properties from reader.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.