runtime

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncForPC added in v0.3.8

func FuncForPC(pc uintptr) *runtime.Func

Types

type Constructor

type Constructor = any

type Context added in v0.3.5

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

Context 描述上下文

func NewContext added in v0.3.5

func NewContext(ctx *cli.Context) *Context

NewContext 创建上下文

func (*Context) Arguments added in v0.4.2

func (c *Context) Arguments() app.Arguments

func (*Context) Deadline added in v0.4.2

func (c *Context) Deadline() (time.Time, bool)

func (*Context) Done added in v0.4.2

func (c *Context) Done() <-chan struct{}

func (*Context) Err added in v0.4.2

func (c *Context) Err() error

func (*Context) Set added in v0.3.5

func (c *Context) Set(key string, value string) error

func (*Context) String added in v0.3.5

func (c *Context) String(key string) string

func (*Context) Value added in v0.3.5

func (c *Context) Value(key any) any

type Dependencies

type Dependencies = any

type Getter

type Getter = any

type Pointer

type Pointer = any

type Shadow

type Shadow struct {
	*cli.App
}

func NewShadow

func NewShadow() (shadow *Shadow)

type Shell

type Shell struct {
	*cli.App
	// contains filtered or unexported fields
}

func NewShell

func NewShell() (shell *Shell)

func (*Shell) Logger added in v0.4.2

func (s *Shell) Logger(logger log.Logger)

Jump to

Keyboard shortcuts

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