bootc

package
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: GPL-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = &Options{
	ChannelParams: make(map[string]interface{}),
	Initializer:   nil,
}

Functions

func Serv added in v1.0.27

func Serv(opts ...Option) listener.IConnector

Types

type ClientBootStrap

type ClientBootStrap struct {
	*Options
	// contains filtered or unexported fields
}

type Option added in v1.0.27

type Option func(*Options)

func WithInitializer added in v1.0.27

func WithInitializer(initializer channel.ChannelInitializer) Option

func WithLogger added in v1.0.27

func WithLogger(l logger.Logger) Option

type Options added in v1.0.27

type Options struct {
	Initializer   channel.ChannelInitializer
	ChannelParams map[string]interface{}
	Logger        logger.Logger
}

Options contains some configurations for current node

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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