edge

package
v1.15.7 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Overview

Service assembly for the edge subdomain of the network module: the token- authenticated client manifest. Only the module facade may reach it.

Index

Constants

This section is empty.

Variables

View Source
var ErrManifestNotFound = errors.New("edge manifest not found")

Functions

This section is empty.

Types

type Deps

type Deps struct {
	Store repository.Store
	// Config snapshots the runtime-mutable settings per request.
	Config func() Snapshot
}

Deps declares the subdomain's dependencies; the module facade forwards them from the composition root.

type ManifestLogic

type ManifestLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

ManifestLogic builds an edge contract from the domain model. It intentionally does not invoke adapter.NewAdapter or the legacy subscription logic.

func (*ManifestLogic) Manifest

func (l *ManifestLogic) Manifest(token string) (*dto.EdgeManifestResponse, error)

type Service

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

Service is the edge manifest entry point used by the network facade.

func NewService

func NewService(deps Deps) *Service

func (*Service) Manifest

func (s *Service) Manifest(ctx context.Context, token string) (*dto.EdgeManifestResponse, error)

type Snapshot

type Snapshot struct {
	Subscribe config.SubscribeConfig
}

Snapshot is the per-request view of the runtime-mutable settings the edge manifest consumes.

Jump to

Keyboard shortcuts

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