Versions in this module Expand all Collapse all v1 v1.0.1 Mar 16, 2024 v1.0.0 Mar 14, 2024 Changes in this version + const ConfSuffix + type Conf any + type ConfWrapper struct + Class string + Conf Conf + func WrapConf(conf Conf) ConfWrapper + type DefaultService struct + func NewDefaultService[T RemoteObject](service Service, constructor func(Conf) (T, error)) *DefaultService[T] + func (ego *DefaultService[T]) Fetch(id GId) RemoteObject + func (ego *DefaultService[T]) New(conf Conf) (GId, error) + func (ego *DefaultService[T]) Remove(ids ...GId) error + type DynamicConf map[string]any + func NewConf(class string) DynamicConf + func (ego DynamicConf) Class() string + func (ego DynamicConf) Clone() DynamicConf + func (ego DynamicConf) Decode(ptr any) error + func (ego DynamicConf) Encode(ptr any) error + func (ego DynamicConf) Marshal() ([]byte, error) + func (ego DynamicConf) String() string + func (ego DynamicConf) Unmarshal(jsonBytes []byte) error + type GId uint64 + type Gobject struct + func (ego *Gobject) Log() *slog.Logger + func (ego *Gobject) SetLog(log *slog.Logger) + type Gobjecter interface + Log func() *slog.Logger + Serialize func() Conf + SetLog func(*slog.Logger) + type GonatusKeeper struct + func (ego *GonatusKeeper) Fetch(id GId) Service + func (ego *GonatusKeeper) NewId() GId + func (ego *GonatusKeeper) Register(s Service) + func (ego *GonatusKeeper) Unregister(s Service) error + type RemoteObject interface + Id func() GId + SetId func(id GId) + type Service interface + New func(Conf) (GId, error) + Remove func(ids ...GId) error