Documentation
¶
Index ¶
Constants ¶
View Source
const ( VersionV1 = "moltnet.node.v1" DefaultPath = "MoltnetNode" )
Variables ¶
View Source
var DefaultDiscoveryOrder = []string{ DefaultPath, defaultYAMLAlt, defaultYMLAlt, defaultJSONAlt, }
Functions ¶
Types ¶
type AttachmentConfig ¶
type AttachmentConfig struct {
Agent bridgeconfig.AgentConfig `json:"agent" yaml:"agent"`
Moltnet bridgeconfig.MoltnetTokenConfig `json:"moltnet,omitempty" yaml:"moltnet,omitempty"`
Runtime bridgeconfig.RuntimeConfig `json:"runtime" yaml:"runtime"`
Rooms []bridgeconfig.RoomBinding `json:"rooms,omitempty" yaml:"rooms,omitempty"`
DMs *bridgeconfig.DMConfig `json:"dms,omitempty" yaml:"dms,omitempty"`
}
type Config ¶
type Config struct {
Clock *bridgeconfig.ClockConfig `json:"clock,omitempty" yaml:"clock,omitempty"`
Version string `json:"version" yaml:"version"`
Moltnet bridgeconfig.MoltnetConfig `json:"moltnet" yaml:"moltnet"`
Attachments []AttachmentConfig `json:"attachments" yaml:"attachments"`
}
func (Config) BridgeConfigs ¶
func (c Config) BridgeConfigs() []bridgeconfig.Config
func (Config) ResolveTokenPaths ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.