community

package
v0.171.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataDB

type DataDB struct {
	// contains filtered or unexported fields
}

func NewDataDB

func NewDataDB(sqlDb *sql.DB) *DataDB

func (*DataDB) GetCommunityInfo

func (o *DataDB) GetCommunityInfo(id string) (*thirdparty.CommunityInfo, *InfoState, error)

func (*DataDB) SetCommunityInfo

func (o *DataDB) SetCommunityInfo(id string, c *thirdparty.CommunityInfo) (err error)

type InfoState added in v0.171.21

type InfoState struct {
	LastUpdateTimestamp uint64
	LastUpdateSuccesful bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL