admin

package
v0.6.43 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package admin is hello's internal API, for its console plugin only: gRPC 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 {
	helloconsolev1.UnimplementedAdminServiceServer
	deps.Component
	// contains filtered or unexported fields
}

Admin serves AdminService.

func New

func New(
	parent deps.Scope, g *greeter.Greeter, a *audit.Audit, db deps.Dependency[*store.DB], cache deps.Optional[*store.DB],
) *Admin

New creates the admin component.

func (*Admin) GetStats

GetStats implements AdminService.

Jump to

Keyboard shortcuts

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