Documentation
¶
Overview ¶
Copyright (c) 2025 Nexlayer. All rights reserved.n// Use of this source code is governed by an MIT-stylen// license that can be found in the LICENSE file.nn
Copyright (c) 2025 Nexlayer. All rights reserved.n// Use of this source code is governed by an MIT-stylen// license that can be found in the LICENSE file.nn
Index ¶
- func GetConfigDir() string
- type Config
- type Manager
- func (m *Manager) GetAPIEndpoint(env string) string
- func (m *Manager) GetDefaultNamespace() string
- func (m *Manager) GetString(key string) string
- func (m *Manager) GetStringMap(key string) map[string]string
- func (m *Manager) Save() error
- func (m *Manager) Set(key string, value interface{})
- func (m *Manager) SetDefaultNamespace(namespace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
Config represents the application configuration
func (*Config) GetAPIEndpoint ¶
GetAPIEndpoint returns the API endpoint for the given environment
func (*Config) GetPluginsDir ¶
GetPluginsDir returns the plugins directory
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles configuration management
func (*Manager) GetAPIEndpoint ¶
GetAPIEndpoint returns the API endpoint for the given environment
func (*Manager) GetDefaultNamespace ¶
GetDefaultNamespace returns the default namespace
func (*Manager) GetStringMap ¶
GetStringMap gets a string map from configuration
func (*Manager) SetDefaultNamespace ¶
SetDefaultNamespace sets the default namespace