Documentation ¶
Index ¶
- func All() []*rules_proto.Ruleset
- func EMA() *proto_rules.Ruleset
- func Fishing() *proto_rules.Ruleset
- func FishingRed() *proto_rules.Ruleset
- func JPMLA() *proto_rules.Ruleset
- func JPMLB() *proto_rules.Ruleset
- func SimpleUma(uma ...int64) *rules_proto.ComplexUma
- func TenhouRed() *proto_rules.Ruleset
- func Validate(rules *proto_rules.Ruleset) error
- func ValidateGame(rules *proto_rules.Game) error
- func WRC() *proto_rules.Ruleset
- type RulesServer
- func (r *RulesServer) GetRule(_ context.Context, req *public_rules.GetRuleRequest) (*public_rules.GetRuleResponse, error)
- func (r *RulesServer) Init(input []*public_rules.Ruleset)
- func (r *RulesServer) ListRules(context.Context, *public_rules.ListRulesRequest) (*public_rules.ListRulesResponse, error)
- type Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
func All() []*rules_proto.Ruleset
func EMA ¶
func EMA() *proto_rules.Ruleset
func Fishing ¶
func Fishing() *proto_rules.Ruleset
func FishingRed ¶
func FishingRed() *proto_rules.Ruleset
func JPMLA ¶
func JPMLA() *proto_rules.Ruleset
func JPMLB ¶
func JPMLB() *proto_rules.Ruleset
func SimpleUma ¶
func SimpleUma(uma ...int64) *rules_proto.ComplexUma
func TenhouRed ¶
func TenhouRed() *proto_rules.Ruleset
func Validate ¶
func Validate(rules *proto_rules.Ruleset) error
func ValidateGame ¶
func ValidateGame(rules *proto_rules.Game) error
func WRC ¶
func WRC() *proto_rules.Ruleset
Types ¶
type RulesServer ¶
type RulesServer struct {
// contains filtered or unexported fields
}
func (*RulesServer) GetRule ¶
func (r *RulesServer) GetRule(_ context.Context, req *public_rules.GetRuleRequest) (*public_rules.GetRuleResponse, error)
func (*RulesServer) Init ¶
func (r *RulesServer) Init(input []*public_rules.Ruleset)
func (*RulesServer) ListRules ¶
func (r *RulesServer) ListRules(context.Context, *public_rules.ListRulesRequest) (*public_rules.ListRulesResponse, error)
Click to show internal directories.
Click to hide internal directories.