Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
ListenAddr string `json:"listenAddr"`
}
func (*Config) SetDefaults ¶ added in v0.3.48
func (c *Config) SetDefaults()
New registers platform/http: HTTP host that serves http.DefaultServeMux. SetDefaults implements pluginkit.Defaulter.
type Platform ¶
type Platform struct {
// contains filtered or unexported fields
}
Platform serves http.DefaultServeMux. Other plugins (e.g. platform/chat-api with registerOnly) mount routes via http.Handle before this platform starts listening.
func (*Platform) PlatformID ¶
Click to show internal directories.
Click to hide internal directories.