datasources

package
v0.5.13 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service manages all external data sources for credential issuance.

func New

func New(ctx context.Context, remotes map[string]model.Remote, docCache pkgcache.Cache[map[string]*model.CompleteDocument], log *logger.Log) (*Service, error)

New creates a new data sources service, starting all enabled sources.

func (*Service) EduAPI

func (s *Service) EduAPI() *eduapi.Service

EduAPI returns the Edu-API service, or nil if not configured.

func (*Service) EduAPIEnabled

func (s *Service) EduAPIEnabled() bool

EduAPIEnabled returns true if the Edu-API data source is available.

Directories

Path Synopsis
Package eduapi implements the Edu-API integration service for the API Gateway.
Package eduapi implements the Edu-API integration service for the API Gateway.

Jump to

Keyboard shortcuts

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