Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfiguration ¶
Types ¶
type Config ¶
type Config struct { TelegramToken string `json:"telegram_token"` TelegramBotName string `json:"telegram_bot_name"` Account string `json:"account"` PostingKey string `json:"posting_key"` ActiveKey string `json:"active_key"` TextRuToken string `json:"text_ru_token"` ReferralFee float32 `json:"referral_fee"` RequiredVotes int `json:"required_votes"` InitialUserRating int `json:"initial_user_rating"` MaximumOpenedVotes int `json:"maximum_opened_votes"` MaximumUserVotesPerDay int `json:"maximum_user_votes_per_day"` MinimumPostLength int `json:"minimum_post_length"` Developer string `json:"developer"` GroupID int64 `json:"group_id"` GroupLink string `json:"group_link"` DatabasePath string `json:"database_path"` Domains []string `json:"domains"` Chain string `json:"chain"` Rpc []string `json:"rpc"` Tester int `json:"tester"` Repository string `json:"repository"` IgnoreVP bool `json:"ignore_vp"` BannedTags []string `json:"banned_tags"` Censorship bool `json:"censorship"` }
Click to show internal directories.
Click to hide internal directories.