modules

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditActivityProjector

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

AuditActivityProjector mirrors canonical audit events into the shared activity feed.

func (*AuditActivityProjector) ProjectAgreement

func (p *AuditActivityProjector) ProjectAgreement(ctx context.Context, scope stores.Scope, agreementID string) error

type ESignModule

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

ESignModule registers routes, panels, commands, settings, and activity projection for e-sign.

func NewESignModule

func NewESignModule(basePath, defaultLocale, menuCode string) *ESignModule

func (*ESignModule) Close

func (m *ESignModule) Close()

Close releases background resources owned by the module runtime.

func (*ESignModule) DefaultScope

func (m *ESignModule) DefaultScope() stores.Scope

DefaultScope returns the fallback scope used when request scope is missing.

func (*ESignModule) GoogleConnected

func (m *ESignModule) GoogleConnected(ctx context.Context, scope stores.Scope, userID string) bool

GoogleConnected reports whether the given user has an active Google integration connection in scope.

func (*ESignModule) GoogleIntegrationEnabled

func (m *ESignModule) GoogleIntegrationEnabled() bool

GoogleIntegrationEnabled returns true when Google integration service is active.

func (*ESignModule) Manifest

func (m *ESignModule) Manifest() coreadmin.ModuleManifest

func (*ESignModule) MaxSourcePDFBytes

func (m *ESignModule) MaxSourcePDFBytes() int64

MaxSourcePDFBytes returns the configured max source PDF size.

func (*ESignModule) MenuItems

func (m *ESignModule) MenuItems(locale string) []coreadmin.MenuItem

func (*ESignModule) Register

func (m *ESignModule) Register(ctx coreadmin.ModuleContext) error

func (*ESignModule) SignerAssetContractService

func (m *ESignModule) SignerAssetContractService() services.SignerAssetContractService

SignerAssetContractService returns token-scoped asset contract resolution used by signer web/runtime paths.

func (*ESignModule) SigningService

func (m *ESignModule) SigningService() services.SigningService

SigningService returns the signing service for signer session operations.

func (*ESignModule) TokenService

func (m *ESignModule) TokenService() *stores.TokenService

TokenService returns the token service for signing token validation.

func (*ESignModule) UploadManager

func (m *ESignModule) UploadManager() *uploader.Manager

UploadManager returns the shared uploader manager used by e-sign document persistence.

func (*ESignModule) ValidateStartup

func (m *ESignModule) ValidateStartup(ctx context.Context) error

ValidateStartup performs post-registration startup validation checks.

func (*ESignModule) WithServicesModule

func (m *ESignModule) WithServicesModule(module *servicesmodule.Module) *ESignModule

WithServicesModule injects the shared go-admin services module runtime.

func (*ESignModule) WithUploadDir

func (m *ESignModule) WithUploadDir(dir string) *ESignModule

WithUploadDir overrides the disk assets directory used for e-sign document uploads.

type RuntimeSettings

type RuntimeSettings struct {
	EmailDefaultFromName    string
	EmailDefaultFromAddress string
	TokenTTLSeconds         int64
	MaxSourcePDFBytes       int64
}

RuntimeSettings captures e-sign runtime settings resolved from SettingsService.

Jump to

Keyboard shortcuts

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