Documentation
¶
Index ¶
- func AllowedExtensions() []string
- func GraphMode() string
- func IgnoredDirectories() []string
- func NGramRange() []int
- func NotesDirPaths() []string
- func OpenCommand() []string
- func PluginPaths() []string
- func Setup() error
- func StopWords() []string
- type OolongConfig
- type OolongEditorConfig
- type OolongGraphConfig
- type OolongLinkerConfig
- type OolongPluginConfig
- type OolongSyncConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedExtensions ¶
func AllowedExtensions() []string
func IgnoredDirectories ¶
func IgnoredDirectories() []string
func NGramRange ¶
func NGramRange() []int
func NotesDirPaths ¶
func NotesDirPaths() []string
func OpenCommand ¶
func OpenCommand() []string
func PluginPaths ¶
func PluginPaths() []string
Types ¶
type OolongConfig ¶
type OolongConfig struct {
NotesDirPaths []string `toml:"note_directories"`
AllowedExtensions []string `toml:"allowed_extensions"`
IgnoreDirectories []string `toml:"ignored_directories"`
OpenCommand []string `toml:"open_command"`
LinkerConfig OolongLinkerConfig `toml:"linker"`
GraphConfig OolongGraphConfig `toml:"graph"`
SyncConfig OolongSyncConfig `toml:"sync"`
PluginsConfig OolongPluginConfig `toml:"plugins"`
}
func Config ¶
func Config() *OolongConfig
type OolongEditorConfig ¶
type OolongEditorConfig struct {
}
type OolongGraphConfig ¶
type OolongGraphConfig struct {
MinNodeWeight float64 `toml:"min_node_weight"`
MaxNodeWeight float64 `toml:"max_node_weight"`
MinLinkWeight float64 `toml:"min_link_weight"`
DefaultMode string `toml:"default_mode"`
}
func WeightThresholds ¶
func WeightThresholds() OolongGraphConfig
type OolongLinkerConfig ¶
type OolongLinkerConfig struct {
// TODO: move these things to a "linker" config section
NGramRange []int `toml:"ngram_range"`
StopWords []string `toml:"stop_words"`
}
func LinkerConfig ¶
func LinkerConfig() OolongLinkerConfig
type OolongPluginConfig ¶
type OolongPluginConfig struct {
PluginPaths []string `toml:"plugin_paths"`
}
type OolongSyncConfig ¶
type OolongSyncConfig sync.SyncConfig
func SyncConfig ¶
func SyncConfig() OolongSyncConfig
Click to show internal directories.
Click to hide internal directories.