system

package
v0.0.0-...-4c964c4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Service

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

Service is used to enhance interaction with the settings store.

func ProvideService

func ProvideService(
	settings *settings.Service,
) *Service

func (*Service) Find

func (s *Service) Find(
	ctx context.Context,
) (*Settings, error)

Find returns the settings of the system.

func (*Service) Update

func (s *Service) Update(
	ctx context.Context,
	in *Settings,
) (*Settings, error)

Update updates the settings of the system.

type Settings

type Settings struct {
	InstallID *string `json:"install_id" yaml:"install_id"`
}

Jump to

Keyboard shortcuts

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