user

package
v0.0.0-...-3bb77e7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint interface {
	FindWellKnownName(c fiber.Ctx) error
	FindWellKnownLNURL(c fiber.Ctx) error
}

endpoint interface

func NewEndpoint

func NewEndpoint() Endpoint

type Repository

type Repository interface {
	FindByIDString(db *gorm.DB, field string, value string, i interface{}) error
}

repository interface

func NewRepository

func NewRepository() Repository

type RequestWellKnownName

type RequestWellKnownName struct {
	Name string `json:"name" path:"name" query:"name"`
}

type Service

type Service interface {
	FindWellKnownName(c *cctx.Context, req *RequestWellKnownName) (interface{}, error)
	FindWellKnownLNURL(c *cctx.Context, req *RequestWellKnownName) (interface{}, error)
}

service interface

func NewService

func NewService() Service

Jump to

Keyboard shortcuts

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