Documentation ¶
Index ¶
- type CoreConfig
- func (hc *CoreConfig) AddTags(tags []string)
- func (hc *CoreConfig) GetAddNewTags() bool
- func (hc *CoreConfig) GetCheckInterval() time.Duration
- func (hc *CoreConfig) GetCookies() instaclient.Cookies
- func (hc *CoreConfig) GetCoreUUID() string
- func (hc *CoreConfig) GetFollowBusinessAccount() bool
- func (hc *CoreConfig) GetFollowCount() int
- func (hc *CoreConfig) GetFollowPrivate() bool
- func (hc *CoreConfig) GetFollowTime() time.Time
- func (hc *CoreConfig) GetFollowVerified() bool
- func (hc *CoreConfig) GetMaxFollow() int
- func (hc *CoreConfig) GetMaxFollowedBy() int
- func (hc *CoreConfig) GetTags() []string
- func (hc *CoreConfig) GetUnfollowAfter() time.Duration
- func (hc *CoreConfig) GetUnfollowCount() int
- func (hc *CoreConfig) GetUnfollowTime() time.Time
- func (hc *CoreConfig) LoadConfig() error
- func (hc *CoreConfig) LoadDefaults()
- func (hc *CoreConfig) SetAddNewTags(b bool)
- func (hc *CoreConfig) SetCheckInterval(minutes int)
- func (hc *CoreConfig) SetCookies(co instaclient.Cookies)
- func (hc *CoreConfig) SetCoreUUID(uid string)
- func (hc *CoreConfig) SetFollowBusinessAccount(b bool)
- func (hc *CoreConfig) SetFollowCount(cnt int)
- func (hc *CoreConfig) SetFollowPrivate(b bool)
- func (hc *CoreConfig) SetFollowTime(t time.Time)
- func (hc *CoreConfig) SetFollowVerified(b bool)
- func (hc *CoreConfig) SetMaxFollow(n int)
- func (hc *CoreConfig) SetMaxFollowedBy(n int)
- func (hc *CoreConfig) SetTags(tags []string)
- func (hc *CoreConfig) SetUnfollowAfter(hours int)
- func (hc *CoreConfig) SetUnfollowCount(cnt int)
- func (hc *CoreConfig) SetUnfollowTime(t time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreConfig ¶
type CoreConfig struct { CoreUUID string CheckInterv int // minutes (0=disabled) FollowCnt int UnfollowCnt int UnfollowAfter int // hours Tags []string AddNewTags bool FollowBusinessAccount bool FollowVerified bool FollowPrivate bool MaxFollow int // (0=disabled) MaxFollowedBy int // (0=disabled) Cookies instaclient.Cookies TagQueryHash hashstor.HashStor MediaQueryHash hashstor.HashStor FollowTime time.Time UnfollowTime time.Time }
func (*CoreConfig) AddTags ¶
func (hc *CoreConfig) AddTags(tags []string)
func (*CoreConfig) GetAddNewTags ¶
func (hc *CoreConfig) GetAddNewTags() bool
func (*CoreConfig) GetCheckInterval ¶
func (hc *CoreConfig) GetCheckInterval() time.Duration
func (*CoreConfig) GetCookies ¶
func (hc *CoreConfig) GetCookies() instaclient.Cookies
func (*CoreConfig) GetCoreUUID ¶
func (hc *CoreConfig) GetCoreUUID() string
func (*CoreConfig) GetFollowBusinessAccount ¶
func (hc *CoreConfig) GetFollowBusinessAccount() bool
func (*CoreConfig) GetFollowCount ¶
func (hc *CoreConfig) GetFollowCount() int
func (*CoreConfig) GetFollowPrivate ¶
func (hc *CoreConfig) GetFollowPrivate() bool
func (*CoreConfig) GetFollowTime ¶
func (hc *CoreConfig) GetFollowTime() time.Time
func (*CoreConfig) GetFollowVerified ¶
func (hc *CoreConfig) GetFollowVerified() bool
func (*CoreConfig) GetMaxFollow ¶
func (hc *CoreConfig) GetMaxFollow() int
func (*CoreConfig) GetMaxFollowedBy ¶
func (hc *CoreConfig) GetMaxFollowedBy() int
func (*CoreConfig) GetTags ¶
func (hc *CoreConfig) GetTags() []string
func (*CoreConfig) GetUnfollowAfter ¶
func (hc *CoreConfig) GetUnfollowAfter() time.Duration
func (*CoreConfig) GetUnfollowCount ¶
func (hc *CoreConfig) GetUnfollowCount() int
func (*CoreConfig) GetUnfollowTime ¶
func (hc *CoreConfig) GetUnfollowTime() time.Time
func (*CoreConfig) LoadConfig ¶
func (hc *CoreConfig) LoadConfig() error
func (*CoreConfig) LoadDefaults ¶
func (hc *CoreConfig) LoadDefaults()
func (*CoreConfig) SetAddNewTags ¶
func (hc *CoreConfig) SetAddNewTags(b bool)
func (*CoreConfig) SetCheckInterval ¶
func (hc *CoreConfig) SetCheckInterval(minutes int)
func (*CoreConfig) SetCookies ¶
func (hc *CoreConfig) SetCookies(co instaclient.Cookies)
func (*CoreConfig) SetCoreUUID ¶
func (hc *CoreConfig) SetCoreUUID(uid string)
func (*CoreConfig) SetFollowBusinessAccount ¶
func (hc *CoreConfig) SetFollowBusinessAccount(b bool)
func (*CoreConfig) SetFollowCount ¶
func (hc *CoreConfig) SetFollowCount(cnt int)
func (*CoreConfig) SetFollowPrivate ¶
func (hc *CoreConfig) SetFollowPrivate(b bool)
func (*CoreConfig) SetFollowTime ¶
func (hc *CoreConfig) SetFollowTime(t time.Time)
func (*CoreConfig) SetFollowVerified ¶
func (hc *CoreConfig) SetFollowVerified(b bool)
func (*CoreConfig) SetMaxFollow ¶
func (hc *CoreConfig) SetMaxFollow(n int)
func (*CoreConfig) SetMaxFollowedBy ¶
func (hc *CoreConfig) SetMaxFollowedBy(n int)
func (*CoreConfig) SetTags ¶
func (hc *CoreConfig) SetTags(tags []string)
func (*CoreConfig) SetUnfollowAfter ¶
func (hc *CoreConfig) SetUnfollowAfter(hours int)
func (*CoreConfig) SetUnfollowCount ¶
func (hc *CoreConfig) SetUnfollowCount(cnt int)
func (*CoreConfig) SetUnfollowTime ¶
func (hc *CoreConfig) SetUnfollowTime(t time.Time)
Click to show internal directories.
Click to hide internal directories.