admin

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package admin is courier's internal API: the console module's channel list and check, served on the platform port behind the internal secret.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

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

Admin serves AdminService.

func New

func New(parent deps.Scope, chs *channels.Channels, dryRun config.Live[bool]) *Admin

New creates the admin component under parent.

func (*Admin) CheckChannel

CheckChannel implements AdminService.

func (*Admin) GenerateWebPushKeys added in v0.0.7

GenerateWebPushKeys implements AdminService.

func (*Admin) ListChannels

ListChannels implements AdminService.

func (*Admin) TestWebPush added in v0.0.7

TestWebPush implements AdminService.

Jump to

Keyboard shortcuts

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