test2

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 OtherStruct

type OtherStruct struct {
	FieldA string
	FieldB librarypkg.LibraryStruct
	// contains filtered or unexported fields
}

type RefreshableLibraryStruct

type RefreshableLibraryStruct interface {
	refreshable.Refreshable
	CurrentLibraryStruct() library.LibraryStruct
	MapLibraryStruct(func(library.LibraryStruct) any) refreshable.Refreshable
	SubscribeToLibraryStruct(func(library.LibraryStruct)) (unsubscribe func())

	FieldA() refreshable.Int
}

type RefreshableOtherStruct

type RefreshableOtherStruct interface {
	refreshable.Refreshable
	CurrentOtherStruct() OtherStruct
	MapOtherStruct(func(OtherStruct) any) refreshable.Refreshable
	SubscribeToOtherStruct(func(OtherStruct)) (unsubscribe func())

	FieldA() refreshable.String
	FieldB() RefreshableLibraryStruct
}

type RefreshingLibraryStruct

type RefreshingLibraryStruct struct {
	refreshable.Refreshable
}

func (RefreshingLibraryStruct) CurrentLibraryStruct

func (r RefreshingLibraryStruct) CurrentLibraryStruct() library.LibraryStruct

func (RefreshingLibraryStruct) FieldA

func (RefreshingLibraryStruct) MapLibraryStruct

func (r RefreshingLibraryStruct) MapLibraryStruct(mapFn func(library.LibraryStruct) any) refreshable.Refreshable

func (RefreshingLibraryStruct) SubscribeToLibraryStruct

func (r RefreshingLibraryStruct) SubscribeToLibraryStruct(consumer func(library.LibraryStruct)) (unsubscribe func())

type RefreshingOtherStruct

type RefreshingOtherStruct struct {
	refreshable.Refreshable
}

func (RefreshingOtherStruct) CurrentOtherStruct

func (r RefreshingOtherStruct) CurrentOtherStruct() OtherStruct

func (RefreshingOtherStruct) FieldA

func (RefreshingOtherStruct) FieldB

func (RefreshingOtherStruct) MapOtherStruct

func (r RefreshingOtherStruct) MapOtherStruct(mapFn func(OtherStruct) any) refreshable.Refreshable

func (RefreshingOtherStruct) SubscribeToOtherStruct

func (r RefreshingOtherStruct) SubscribeToOtherStruct(consumer func(OtherStruct)) (unsubscribe func())

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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