gx

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cfg

func Cfg(name ...string) *gcfgx.Config

func Client

func Client(client ...*gclient.Client) *gclientx.Client

func Config

func Config(name ...string) *gcfgx.Config

func GoIgnore added in v0.7.0

func GoIgnore(
	ctx context.Context,
	goroutineFunc func(ctx context.Context),
)

func GoIgnoreX added in v0.7.0

func GoIgnoreX(
	goroutineFunc func(),
)

func GoX added in v0.7.0

func GoX(
	goroutineFunc func(),
	recoverFunc func(exception error),
)

func Server added in v0.2.0

func Server(name ...interface{}) *ghttpx.Server

func TryCatchX added in v0.7.0

func TryCatchX(try func(), catch func(exception error))

func TryIgnore added in v0.7.0

func TryIgnore(ctx context.Context, try func(ctx context.Context))

func TryIgnoreX added in v0.7.0

func TryIgnoreX(try func())

func TryX added in v0.7.0

func TryX(try func()) (err error)

func ViewX added in v0.3.5

func ViewX(name ...string) *gviewx.View

Types

This section is empty.

Jump to

Keyboard shortcuts

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