reclient

package
v0.0.0-...-8c2001a Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(ctx Jobctx) (any, error)

type Jobctx

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

func (*Jobctx) Data

func (j *Jobctx) Data() []byte

func (*Jobctx) GetBindings

func (j *Jobctx) GetBindings() any

func (*Jobctx) RootBindings

func (j *Jobctx) RootBindings() any

type Options

type Options struct {
	Port     string
	Token    string
	AgentId  string
	PlugId   string
	TenantId string
}

type ReBindx

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

func NewReBindx

func NewReBindx(port string, btype string) *ReBindx
func (r *ReBindx) InLinks() ([]bindx.Link, error)

func (*ReBindx) Log

func (r *ReBindx) Log(msg string)
func (r *ReBindx) OutLinks() ([]bindx.Link, error)

type ReRouter

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

func New

func New(opts Options) *ReRouter

func (*ReRouter) Close

func (r *ReRouter) Close() error

func (*ReRouter) Init

func (r *ReRouter) Init() error

func (*ReRouter) Register

func (r *ReRouter) Register(name string, handler Handler)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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