dynamic

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: LGPL-2.1 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf map[string]any

func NewConf

func NewConf(class string) Conf

func (Conf) Class

func (ego Conf) Class() string

func (Conf) Clone

func (ego Conf) Clone() Conf

func (Conf) Decode

func (ego Conf) Decode(ptr any) error

func (Conf) Encode

func (ego Conf) Encode(ptr any) error

func (Conf) Load

func (ego Conf) Load(target Gobjecter) error

func (Conf) Marshal

func (ego Conf) Marshal() ([]byte, error)

func (Conf) String

func (ego Conf) String() string

func (Conf) Unmarshal

func (ego Conf) Unmarshal(jsonBytes []byte) error

type Gobject

type Gobject struct {
	CLASS string
	// contains filtered or unexported fields
}

func (*Gobject) Init

func (ego *Gobject) Init(ptr Gobjecter)

func (*Gobject) Ptr

func (ego *Gobject) Ptr() any

func (*Gobject) Serialize

func (ego *Gobject) Serialize() Conf

type Gobjecter

type Gobjecter interface {
	Init(ptr Gobjecter)
	Serialize() Conf
	Ptr() any
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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