Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Config *config.Conf
Logger *slog.Logger
Database *database.SQLite
HTTPServer http.Handler
DeviceService *device.Service
AuthService *auth.Service
PolicyService *policy.Service
RuleService *rule.Service
DevicePairingService *devicepairing.Service
HostsService *hosts.Service
UserAccessService *useraccess.Service
NetworkPoliciesService *networkpolicies.Service
// contains filtered or unexported fields
}
App holds all initialized application components.
func NewWithConfigAndLogger ¶
func NewWithConfigAndLogger(ctx context.Context, conf *config.Conf, logger *slog.Logger) (_ *App, err error)
NewWithConfigAndLogger initializes the application with the provided configuration and logger.
Click to show internal directories.
Click to hide internal directories.