fwk

package
v0.0.0-...-42ca271 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NilCfgSrc

func NilCfgSrc[T any]() T

Types

type CfgSrc

type CfgSrc[T any] func() T

type CfgSrcAdaptation

type CfgSrcAdaptation[S, T any] struct {
	// contains filtered or unexported fields
}

func MakeCfgSrcAdaptation

func MakeCfgSrcAdaptation[S, T any](
	targetSrc *func() T,
	adapter CfgSrcAdapter[S, T],
) CfgSrcAdaptation[S, T]

func (CfgSrcAdaptation[S, T]) SetOrigin

func (s CfgSrcAdaptation[S, T]) SetOrigin(originSrc CfgSrc[S])

type CfgSrcAdapter

type CfgSrcAdapter[S, T any] func(S) T

Jump to

Keyboard shortcuts

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