cowboy

package
v0.0.0-...-7b50ccb Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultNamespace = "default"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CowboyUsecases

type CowboyUsecases interface {
	Go()
	Shoot(target string) (string, string, error)
	GotDamage(damage int)
	GetHealth() int
	GetName() string
	GetDamage() int
	GetStatus() string
}

func NewCowboyUsecases

func NewCowboyUsecases(rdb *redis.Client, mqp *kafka.Producer, name string, health, damage int) (CowboyUsecases, error)

Jump to

Keyboard shortcuts

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