system_builder

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	MasterData      []model.MasterData
	GlobalKVSBucket *model.GlobalKVSBucket
	LeaderBoard     []model.LeaderBoard
}

type GlobalKVSBucketBuilder

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

func NewGlobalKVSBucketBuilder

func NewGlobalKVSBucketBuilder() *GlobalKVSBucketBuilder

func (GlobalKVSBucketBuilder) Build

func (*GlobalKVSBucketBuilder) Entries

type LeaderBoardBuilder added in v0.2.0

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

func NewLeaderBoardBuilder added in v0.2.0

func NewLeaderBoardBuilder(id string) *LeaderBoardBuilder

func (LeaderBoardBuilder) Build added in v0.2.0

func (*LeaderBoardBuilder) Scores added in v0.2.0

type LeaderBoardScoreBuilder added in v0.2.0

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

func NewLeaderBoardScoreBuilder added in v0.2.0

func NewLeaderBoardScoreBuilder(scoreID string) *LeaderBoardScoreBuilder

func (LeaderBoardScoreBuilder) Build added in v0.2.0

func (*LeaderBoardScoreBuilder) Score added in v0.2.0

func (*LeaderBoardScoreBuilder) Timestamp added in v0.2.0

type MasterDataBuilder added in v0.4.0

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

func NewMasterDataBuilder added in v0.4.0

func NewMasterDataBuilder(revision int) *MasterDataBuilder

func (MasterDataBuilder) Build added in v0.4.0

func (*MasterDataBuilder) Comment added in v0.4.0

func (*MasterDataBuilder) Content added in v0.4.0

func (b *MasterDataBuilder) Content(v []byte) *MasterDataBuilder

func (*MasterDataBuilder) CreatedAt added in v0.4.0

func (b *MasterDataBuilder) CreatedAt(v time.Time) *MasterDataBuilder

func (*MasterDataBuilder) IsActive added in v0.4.0

func (b *MasterDataBuilder) IsActive(v bool) *MasterDataBuilder

type SystemBuilder

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

func New

func New() *SystemBuilder

func (SystemBuilder) Build

func (b SystemBuilder) Build() Data

func (*SystemBuilder) GlobalKVSBucket

func (b *SystemBuilder) GlobalKVSBucket(v model.GlobalKVSBucket) *SystemBuilder

func (*SystemBuilder) LeaderBoard added in v0.2.0

func (b *SystemBuilder) LeaderBoard(v model.LeaderBoard) *SystemBuilder

func (*SystemBuilder) MasterData added in v0.4.0

func (b *SystemBuilder) MasterData(v model.MasterData) *SystemBuilder

Jump to

Keyboard shortcuts

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