Documentation ¶
Overview ¶
Code generated from Pkl module `org.pkl.golang.example.AppConfig`. DO NOT EDIT.
Code generated from Pkl module `org.pkl.golang.example.AppConfig`. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { // The host to listen on Host string `pkl:"host"` // The application port to listen on Port uint16 `pkl:"port"` // Redis settings for this application Redis *redisconfig.RedisConfig `pkl:"redis"` // The level of logging for the application. // // - "error": Log only error level messages // - "warn": Log error and warning messages // - "info": Log all messages LogLevel loglevel.LogLevel `pkl:"logLevel"` }
Application configuration for the Pkl Go Example application.
See generated sources in the gen/ directory.
Click to show internal directories.
Click to hide internal directories.