runtime

package
v1.7.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 5 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) 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

Jump to

Keyboard shortcuts

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