allinone

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAllInOneServer

func NewAllInOneServer() pb.AllInOneServiceServer

func WrappedFunc

func WrappedFunc(f interface{}, args ...interface{}) func() error

Types

type Group

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

func NewGroup

func NewGroup(ctx context.Context) (*Group, context.Context)

NewGroup creates a new group.

func (*Group) Go

func (g *Group) Go(f func() error)

Go to run a func.

func (*Group) GoStartNode

func (g *Group) GoStartNode(f func(ctx context.Context, namespace, name string) error, ctx context.Context, namespace, name string)

func (*Group) Wait

func (g *Group) Wait() error

Wait until all the go functions are returned If errors occurred, they'll be combined with ":" and returned.

Jump to

Keyboard shortcuts

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