handlers

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ConstString

type ConstString struct {
}

func NewConstString

func NewConstString() *ConstString

func (*ConstString) IsMatched

func (c *ConstString) IsMatched(tp string) bool

func (*ConstString) Work

func (c *ConstString) Work(process *models.Process) error

type Evaluate

type Evaluate struct {
}

func NewEvaluateHandler

func NewEvaluateHandler() *Evaluate

func (*Evaluate) IsMatched

func (e *Evaluate) IsMatched(tp string) bool

func (*Evaluate) Work

func (e *Evaluate) Work(process *models.Process) error

type File

type File struct {
}

func NewFileHandler

func NewFileHandler() *File

func (File) IsMatched

func (f File) IsMatched(tp string) bool

func (File) Work

func (f File) Work(process *models.Process) error

type RankList

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

func NewRankList

func NewRankList(rr ranklists.Repository, ar accounts.Repository) *RankList

func (RankList) IsMatched

func (r RankList) IsMatched(tp string) bool

func (RankList) Work

func (r RankList) Work(process *models.Process) error

type Result

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

func NewResult

func NewResult(jr judgements.Repository) *Result

func (*Result) IsMatched

func (r *Result) IsMatched(tp string) bool

func (*Result) Work

func (r *Result) Work(process *models.Process) error

Jump to

Keyboard shortcuts

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