runtime

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncForPC

func FuncForPC(pc uintptr) *runtime.Func

Types

type Constructor

type Constructor = any

type Context

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

Context 描述上下文

func NewContext

func NewContext(ctx *cli.Context) *Context

NewContext 创建上下文

func (*Context) Arguments

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

func (*Context) Deadline

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

func (*Context) Done

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

func (*Context) Err

func (c *Context) Err() error

func (*Context) Set

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

func (*Context) String

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

func (*Context) Value

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

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