configure

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigBinder added in v1.1.0

type ConfigBinder interface {
	SetConfig(c any) error
	PropInject(m *meta.Meta) error
}

type ConfigLoader added in v1.1.0

type ConfigLoader interface {
	LoadConfig(u string) (any, error)
}

type DefaultBinder added in v1.1.0

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

func (*DefaultBinder) PropInject added in v1.1.0

func (d *DefaultBinder) PropInject(m *meta.Meta) error

func (*DefaultBinder) SetConfig added in v1.1.0

func (d *DefaultBinder) SetConfig(c any) error

type DefaultLoader added in v1.1.0

type DefaultLoader struct{}

func (*DefaultLoader) LoadConfig added in v1.1.0

func (c *DefaultLoader) LoadConfig(u string) (any, error)

type NopBinder added in v1.1.0

type NopBinder struct{}

func (*NopBinder) PropInject added in v1.1.0

func (n *NopBinder) PropInject(m *meta.Meta) error

func (*NopBinder) SetConfig added in v1.1.0

func (n *NopBinder) SetConfig(c any) error

type NopLoader added in v1.1.0

type NopLoader struct{}

func (*NopLoader) LoadConfig added in v1.1.0

func (n *NopLoader) LoadConfig(u string) (any, error)

Jump to

Keyboard shortcuts

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