connect

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package connect provides a Connector which allows to connect method definition with their implementations in plugins

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect[T any](c *Connector, target *T, suffix ...string)

Connect connects a method with its implementation.

Types

type Connector

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

Connector connects methods with their implementations in plugins.

func NewConnector

func NewConnector(slug, prefix string) *Connector

NewConnector creates a new Connector.

Jump to

Keyboard shortcuts

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