user

package
v0.2.0-dev Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	Referral *ReferralHandler
	// Import hosts the /api/user/{import,vault}/* endpoints used by the
	// bulk-import Web UI. See importpkg.Handlers.Register for the route map.
	Import *importpkg.Handlers
}

Handlers groups all user-domain HTTP handlers.

Page rendering lives in aikey-control/web (React + Vite); the built SPA is embedded into aikey-trial-server/web/embed.go at binary compile time and served for every unmatched non-API path. There is therefore no Go-side page handler in this package — only the bulk-import API surface below.

type ReferralHandler

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

ReferralHandler exposes referral endpoints.

func NewReferralHandler

func NewReferralHandler(repo referral.Repository) *ReferralHandler

NewReferralHandler creates a ReferralHandler.

func (*ReferralHandler) MyReferrals

func (h *ReferralHandler) MyReferrals(w http.ResponseWriter, r *http.Request)

MyReferrals handles GET /accounts/me/referrals

Directories

Path Synopsis
Package importpkg implements the Go local-server HTTP surface for the bulk-import flow.
Package importpkg implements the Go local-server HTTP surface for the bulk-import flow.

Jump to

Keyboard shortcuts

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