admin

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler added in v0.16.0

func NewHandler(appConfig *config.AppConfig, services *config.AppServices) routes.AdminEndpointsFunc

NewHandler creates the specific package routes

Types

type Action

type Action struct {
	actions.Action
}

Action is an extension of actions.Action for this package

type CreatePaymail added in v0.16.0

type CreatePaymail struct {
	XpubID     string          `json:"xpub_id"`
	Address    string          `json:"address"`
	PublicName string          `json:"public_name"`
	Avatar     string          `json:"avatar"`
	Metadata   engine.Metadata `json:"metadata"`
}

CreatePaymail is the model for creating a paymail

type CreateXpub added in v0.16.0

type CreateXpub struct {
	Key      string          `json:"key"`
	Metadata engine.Metadata `json:"metadata"`
}

CreateXpub is the model for creating an xpub

type PaymailAddress added in v0.16.0

type PaymailAddress struct {
	Address string `json:"address"`
}

PaymailAddress is the model containing only paymail address used for getting and deleting paymail address

type RecordTransaction added in v0.16.0

type RecordTransaction struct {
	Hex string `json:"hex"`
}

RecordTransaction is the model for recording a transaction

Jump to

Keyboard shortcuts

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