cmd

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RAIL_PORT = 4411

Functions

This section is empty.

Types

type Handler

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

func New

func New() *Handler

func (*Handler) CheckVersion

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

func (*Handler) Completion

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

func (*Handler) Connect

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

func (*Handler) Down

func (h *Handler) Down(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 (h *Handler) Link(ctx context.Context, req *entity.CommandRequest) error

func (*Handler) Login

func (h *Handler) Login(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) Run

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

func (*Handler) Up

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

func (*Handler) Variables

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

func (*Handler) VariablesDelete

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

func (*Handler) VariablesGet

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

func (*Handler) VariablesSet

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

func (*Handler) Version

func (h *Handler) Version(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