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
Click to show internal directories.
Click to hide internal directories.