admin

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package admin is smtp's internal API: what the console module reads and does, served as gRPC on the platform port behind the internal secret and relayed by backplane under the operator's session. It shows envelopes, never bodies, and audits every change it makes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	smtpconsolev1.UnimplementedAdminServiceServer
	deps.Component
	// contains filtered or unexported fields
}

Admin serves AdminService.

func New

func New(
	parent deps.Scope, st deps.Dependency[*store.Store], acc *accounts.Accounts, m *mailer.Mailer, instance string,
) *Admin

New creates the admin component under parent.

func (*Admin) DeleteSuppression

DeleteSuppression implements AdminService.

func (*Admin) DiscardDelivery

DiscardDelivery implements AdminService.

func (*Admin) GetOverview

GetOverview implements AdminService.

func (*Admin) ListAccounts

ListAccounts implements AdminService.

func (*Admin) ListDeliveries

ListDeliveries implements AdminService.

func (*Admin) ListSuppressions

ListSuppressions implements AdminService.

func (*Admin) RequeueDelivery

RequeueDelivery implements AdminService.

func (*Admin) String

func (a *Admin) String() string

String names the component for errors.

func (*Admin) TestAccount

TestAccount implements AdminService.

Jump to

Keyboard shortcuts

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