combat

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFlags

func NewFlags() []cli.Flag

Types

type Combat

type Combat struct {
	ID        int16
	SectionID int16
	// contains filtered or unexported fields
}

func New

func New() *Combat

func (*Combat) Action

func (c *Combat) Action(ctx *cli.Context) error

func (*Combat) Run

func (c *Combat) Run(arguments []string) error

func (*Combat) Stop

func (c *Combat) Stop()

type GinServer

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

func NewGinServer

func NewGinServer(c *Combat, ctx *cli.Context) *GinServer

func (*GinServer) Run

func (s *GinServer) Run() error

type MicroService

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

func NewMicroService

func NewMicroService(c *Combat, ctx *ucli.Context) *MicroService

func (*MicroService) Run

func (s *MicroService) Run() error

type PubSub

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

func NewPubSub

func NewPubSub(c *Combat) *PubSub

type RpcHandler

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

func NewRpcHandler

func NewRpcHandler(c *Combat) *RpcHandler

func (*RpcHandler) StartStageCombat

/////////////////////////////////////////// rpc receive ///////////////////////////////////////////

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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