test3

package
v0.272.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MainStruct

type MainStruct struct {
	ExcludedString string    `yaml:"excluded-string" refreshables:",exclude"`
	IncludedString string    `yaml:"included-string" refreshables:"custom-name"`
	Sub            SubStruct `yaml:"sub"`
}

type RefreshableMainStruct

type RefreshableMainStruct interface {
	refreshable.Refreshable
	CurrentMainStruct() MainStruct
	MapMainStruct(func(MainStruct) any) refreshable.Refreshable
	SubscribeToMainStruct(func(MainStruct)) (unsubscribe func())

	IncludedString() refreshable.String
	Sub() RefreshableSubStruct
}

type RefreshableSubStruct

type RefreshableSubStruct interface {
	refreshable.Refreshable
	CurrentSubStruct() SubStruct
	MapSubStruct(func(SubStruct) any) refreshable.Refreshable
	SubscribeToSubStruct(func(SubStruct)) (unsubscribe func())

	IncludedInt() refreshable.Int
}

type RefreshingMainStruct

type RefreshingMainStruct struct {
	refreshable.Refreshable
}

func (RefreshingMainStruct) CurrentMainStruct

func (r RefreshingMainStruct) CurrentMainStruct() MainStruct

func (RefreshingMainStruct) IncludedString

func (r RefreshingMainStruct) IncludedString() refreshable.String

func (RefreshingMainStruct) MapMainStruct

func (r RefreshingMainStruct) MapMainStruct(mapFn func(MainStruct) any) refreshable.Refreshable

func (RefreshingMainStruct) Sub

func (RefreshingMainStruct) SubscribeToMainStruct

func (r RefreshingMainStruct) SubscribeToMainStruct(consumer func(MainStruct)) (unsubscribe func())

type RefreshingSubStruct

type RefreshingSubStruct struct {
	refreshable.Refreshable
}

func (RefreshingSubStruct) CurrentSubStruct

func (r RefreshingSubStruct) CurrentSubStruct() SubStruct

func (RefreshingSubStruct) IncludedInt

func (r RefreshingSubStruct) IncludedInt() refreshable.Int

func (RefreshingSubStruct) MapSubStruct

func (r RefreshingSubStruct) MapSubStruct(mapFn func(SubStruct) any) refreshable.Refreshable

func (RefreshingSubStruct) SubscribeToSubStruct

func (r RefreshingSubStruct) SubscribeToSubStruct(consumer func(SubStruct)) (unsubscribe func())

type SubStruct

type SubStruct struct {
	IncludedInt     int                            `yaml:"included-int"`
	ExcludedLibrary librarypkg.CustomLibraryStruct `yaml:"excluded-library" refreshables:",exclude"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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