client

package
v1.0.77 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Http                reqx.Options
	Preferences         preferences.Options
	Library             library.Options
	UploadThumbnailSize int
	Workers             int
}

Config holds all client configuration options

func DefaultConfig

func DefaultConfig() Config

DefaultConfig returns the default client configuration

type ServiceManager

type ServiceManager struct {
	PreferencesService preferences.Service
	CredentialsService credentials.Service
	OperationsService  operation.Service
	LibraryService     *fslibrary.FsLibrary
	FacadeService      facade.Service
}

ServiceManager provides access to all application services

func NewManager

func NewManager(config Config) (*ServiceManager, error)

NewManager initializes all services with the given config

func (*ServiceManager) InitConsoleLogging

func (sm *ServiceManager) InitConsoleLogging()

Jump to

Keyboard shortcuts

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