cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandCollection = make(map[string]Command)

Functions

This section is empty.

Types

type Command

type Command interface {
	BindConfig(configure config.Configure)
	Execute()
}

type NumberOfUsersCmd

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

func (*NumberOfUsersCmd) BindConfig

func (c *NumberOfUsersCmd) BindConfig(i config.Configure)

func (*NumberOfUsersCmd) Execute

func (c *NumberOfUsersCmd) Execute()

type ServerCmd

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

func (*ServerCmd) BindConfig

func (c *ServerCmd) BindConfig(i config.Configure)

func (*ServerCmd) Execute

func (c *ServerCmd) Execute()

Jump to

Keyboard shortcuts

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