fakeclient

package
v0.0.0-...-593c55d Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Errors = map[int64]error{
		5001: errors.New("方案主体错误"),
		5002: errors.New("方案彩种错误"),
	}
)

Functions

func NewRand

func NewRand() *random

Types

type BlockNum

type BlockNum string

func (BlockNum) RandMoney

func (b BlockNum) RandMoney() (src string, err error)

func (BlockNum) RandToString

func (b BlockNum) RandToString(srcSlice []string, sortInt ...bool) (src string, err error)

func (BlockNum) String

func (b BlockNum) String() string

type LottoType

type LottoType interface {
	IsPk10() bool
	IsSsc() bool
}

type NumericSlice

type NumericSlice []string

type RandomBet

type RandomBet struct {
	LottoType
}

func (*RandomBet) RandMessage

func (r *RandomBet) RandMessage() (rStr string)

type RandomBet2

type RandomBet2 struct {
	Scheme
}

func (*RandomBet2) Parse

func (r *RandomBet2) Parse() (betStr string, err error)

type Scheme

type Scheme interface {
	IsPk10() bool
	IsSsc() bool
	GetContent() string
}

Jump to

Keyboard shortcuts

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