Help us shape the future of Go! Take the 2026 Go Developer Survey

binding

package
v1.16.9 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManager

func NewManager() interfaces.BindingManager

NewManager creates a new Manager struct

Types

type Manager

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

Manager handles method binding

func (*Manager) Bind

func (b *Manager) Bind(object interface{})

Bind saves the given object to be bound at start time

func (*Manager) BindPackageNames

func (b *Manager) BindPackageNames()

BindPackageNames sets a flag to indicate package names should be considered when binding

func (*Manager) ProcessCall

func (b *Manager) ProcessCall(callData *messages.CallData) (result interface{}, err error)

ProcessCall processes the given call request

func (*Manager) Shutdown added in v0.18.4

func (b *Manager) Shutdown()

Shutdown the binding manager

func (*Manager) Start

func (b *Manager) Start(renderer interfaces.Renderer, runtime interfaces.Runtime) error

Start the binding manager

Jump to

Keyboard shortcuts

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