Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DBFile string `yaml:"db_file"`
SQLiteDB string `yaml:"sqlite_db"`
PostgresURL string `yaml:"postgres_url"`
DID string `yaml:"did"`
PrivateKey string `yaml:"private_key"`
Password string `yaml:"password"`
Endpoint string `yaml:"endpoint"`
Labels bsky.LabelerDefs_LabelerPolicies `yaml:"labels"`
}
func (*Config) LabelValues ¶
LabelValues returns the list of labels specified in the config.
func (*Config) UpdateLabelValues ¶
func (c *Config) UpdateLabelValues()
UpdateLabelValues ensures that all labels defined in c.Labels.LabelValueDefinitions are also listed in c.Labels.LabelValues.
Click to show internal directories.
Click to hide internal directories.