Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxNumOfSocialLinks = 20
)
Variables ¶
View Source
var ( ErrNilSocialLinkProvided = errors.New("social links, nil object provided") ErrOlderSocialLinksProvided = errors.New("older social links provided") )
Functions ¶
This section is empty.
Types ¶
type SocialLinksSettings ¶
type SocialLinksSettings struct {
// contains filtered or unexported fields
}
func NewSocialLinksSettings ¶
func NewSocialLinksSettings(db *sql.DB) *SocialLinksSettings
func (*SocialLinksSettings) AddOrReplaceSocialLinksIfNewer ¶ added in v0.156.1
func (s *SocialLinksSettings) AddOrReplaceSocialLinksIfNewer(links identity.SocialLinks, clock uint64) error
func (*SocialLinksSettings) GetSocialLinks ¶
func (s *SocialLinksSettings) GetSocialLinks() (identity.SocialLinks, error)
func (*SocialLinksSettings) GetSocialLinksClock ¶ added in v0.156.1
func (s *SocialLinksSettings) GetSocialLinksClock() (result uint64, err error)
Click to show internal directories.
Click to hide internal directories.