resolver

package
v0.0.0-...-a1b4a84 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(opt *types.ResolverOption) error

func Next

func Next(ctx context.Context, funcName string) (*types.Node, error)

func Register

func Register(ctx context.Context, funcName string, node *types.Node) error

func UnRegister

func UnRegister(ctx context.Context, funcName string, node *types.Node) error

func UnRegisterFunc

func UnRegisterFunc(ctx context.Context, funcName string) error

Types

type Resolver

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

func (*Resolver) Init

func (r *Resolver) Init(opt *types.ResolverOption) error

func (*Resolver) Next

func (r *Resolver) Next(ctx context.Context, funcName string) (*types.Node, error)

func (*Resolver) Register

func (r *Resolver) Register(ctx context.Context, funcName string, node *types.Node) error

func (*Resolver) UnRegister

func (r *Resolver) UnRegister(ctx context.Context, funcName string, node *types.Node) error

func (*Resolver) UnRegisterFunc

func (r *Resolver) UnRegisterFunc(ctx context.Context, funcName string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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