core

package
v0.0.0-...-3eeeb6d Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoinFlipMethod

type CoinFlipMethod func() CoinSide

type CoinSide

type CoinSide int
const (
	Head CoinSide = iota
	Tails
	Middle
)

func DefaultCoinFlip

func DefaultCoinFlip() CoinSide

type GonnarainConfig

type GonnarainConfig struct {
	Method           CoinFlipMethod
	NotificationFunc NotificationFunc
}

type GonnarainService

type GonnarainService func() error

func BuildGonnarainService

func BuildGonnarainService(cfg GonnarainConfig) GonnarainService

type NotificationFunc

type NotificationFunc func(string) error

Jump to

Keyboard shortcuts

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