job

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PostView  = 3
	PostLike  = 5
	PostShare = 1
	PostLoop  = 3
)

Variables

Functions

This section is empty.

Types

type SignForumRecord

type SignForumRecord struct {
	GameId    int
	GameName  string
	HasSigned bool

	PostView  int
	PostLike  int
	PostShare int
	LoopCount int
}

func SignForumGame

func SignForumGame(gid int, account config.Account) (record SignForumRecord, err error)

type SignForumRecords

type SignForumRecords []SignForumRecord

func SignForum

func SignForum(account config.Account) (SignForumRecords, error)

func SignForumGames

func SignForumGames(account config.Account) (SignForumRecords, error)

func (SignForumRecords) Name

func (rs SignForumRecords) Name() string

func (SignForumRecords) Success

func (rs SignForumRecords) Success() string

type SignGameRecord

type SignGameRecord struct {
	GameId     int
	GameName   string
	ServerName string
	RoleId     string
	RoleName   string
	HasSigned  bool
	Award      string
}

func SignGameRole

func SignGameRole(role *kuro.Role, account config.Account) (record SignGameRecord, err error)

type SignGameRecords

type SignGameRecords []SignGameRecord

func SignGame

func SignGame(account config.Account) (SignGameRecords, error)

func SignGameRoles

func SignGameRoles(roles []*kuro.Role, account config.Account) (SignGameRecords, error)

func (SignGameRecords) Name

func (rs SignGameRecords) Name() string

func (SignGameRecords) Success

func (rs SignGameRecords) Success() string

Jump to

Keyboard shortcuts

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