Documentation ¶ Index ¶ type Config type Gateway func NewGateway(ctx context.Context, config Config) (*Gateway, error) func (g *Gateway) Shutdown(ctx context.Context) error func (g *Gateway) Stop() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { BaseDir string RemoveBeforeOpen bool Verbosity string AddonUrls []string IPCPort string RPCPort string HttpAddr string HttpsAddr string LogRotateDays int } type Gateway ¶ type Gateway struct { // contains filtered or unexported fields } func NewGateway ¶ func NewGateway(ctx context.Context, config Config) (*Gateway, error) func (*Gateway) Shutdown ¶ func (g *Gateway) Shutdown(ctx context.Context) error func (*Gateway) Stop ¶ func (g *Gateway) Stop() error Source Files ¶ View all Source files core.go Directories ¶ Show internal Expand all Path Synopsis addon Package plugin @Description: Package plugin @Description: api controllers middleware models models/container cmd gateway gateway/cmd generate virtual-adapter yeelight-adapter yeelight-adapter/lib yeelight-adapter/lib/example pkg addon/actions addon/adapter addon/devices addon/events addon/manager addon/properties addon/proxy addon/schemas bus bus/topic constant crypto db errors hc ipc_messages ipc_messages/gen log rules_engine rules_engine/effects rules_engine/property rules_engine/state rules_engine/triggers system util wot/definitions/core wot/definitions/core/interaction_affordance wot/definitions/core/property_affordance wot/definitions/data_schema wot/definitions/hypermedia_controls wot/definitions/security_scheme Click to show internal directories. Click to hide internal directories.