operator

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Unlicense Imports: 24 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"`
	PubKey        string `json:"pubkey"`
	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