cmd

package
v0.1.33 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RAIL_PORT = 4411

Functions

func Max

func Max(x, y int) int

func Min

func Min(x, y int) int

Types

type Handler

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

func New

func New() *Handler

func (*Handler) Add

func (h *Handler) Add(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Build

func (h *Handler) Build(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) CheckVersion

func (h *Handler) CheckVersion(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Connect added in v0.1.32

func (h *Handler) Connect(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Disconnect added in v0.1.26

func (h *Handler) Disconnect(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Docs

func (h *Handler) Docs(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Env

func (h *Handler) Env(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Environment

func (h *Handler) Environment(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Init

func (h *Handler) Init(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) List

func (h *Handler) List(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Login

func (h *Handler) Login(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Logout

func (h *Handler) Logout(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Open

func (h *Handler) Open(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Panic

func (h *Handler) Panic(ctx context.Context, panicErr string, stacktrace string, cmd string, args []string) error

func (*Handler) Protect added in v0.1.33

func (h *Handler) Protect(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Run

func (h *Handler) Run(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Status

func (h *Handler) Status(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Up

func (h *Handler) Up(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Version

func (h *Handler) Version(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Whoami

func (h *Handler) Whoami(ctx context.Context, req *entity.CommandRequest) error

Jump to

Keyboard shortcuts

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