operator

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: Unlicense Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindOperatorRegistrationStore nostr.Kind = 20445
)

Variables

View Source
var (
	L       = global.Log.With().Str("module", "operator").Logger()
	Handler = &MuxHandler{}
)
View Source
var ErrAccountNotFound = fmt.Errorf("account not found")

Functions

func Init

func Init(relay *khatru.Relay)

func SetupEnabled

func SetupEnabled()

Types

type MuxHandler

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

func (*MuxHandler) ServeHTTP

func (mh *MuxHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Registration

type Registration struct {
	Email         string `json:"email"`
	Central       string `json:"central"`
	CentralPubKey string `json:"central_pubkey"`
	Shard         string `json:"shard"`
}

Jump to

Keyboard shortcuts

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