Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyWebServiceConfig ¶
func ApplyWebServiceConfig(dst *WebServiceConfig, doc minitoml.Document) error
ApplyWebServiceConfig maps intermediate document keys under prefix "webservice" onto dst.
Types ¶
type ListenerConfig ¶ added in v0.2.0
ListenerConfig is one element of an array of tables.
type WebServiceConfig ¶
type WebServiceConfig struct {
ListenAddr string
MaxConns int
CorsOrigins []string
TLS TLSConfig
Listeners []ListenerConfig
}
WebServiceConfig is a representative Bind-style config struct for codegen tests.
Click to show internal directories.
Click to hide internal directories.