Documentation ¶
Index ¶
- func Cover(c *fiber.Ctx, homeDir, libraryPath string, ...) error
- func DocReader(c *fiber.Ctx, libraryPath string, idx Reader) error
- func Download(c *fiber.Ctx, homeDir, libraryPath string, idx Reader) error
- func Root(c *fiber.Ctx) error
- func Search(c *fiber.Ctx, idx Reader, sender Sender, wordsPerMinute float64) error
- func Send(c *fiber.Ctx, libraryPath string, sender Sender, idx Reader) error
- type Auth
- func (a *Auth) EditPassword(c *fiber.Ctx) error
- func (a *Auth) Login(c *fiber.Ctx) error
- func (a *Auth) Recover(c *fiber.Ctx) error
- func (a *Auth) Request(c *fiber.Ctx) error
- func (a *Auth) SignIn(c *fiber.Ctx) error
- func (a *Auth) SignOut(c *fiber.Ctx) error
- func (a *Auth) UpdatePassword(c *fiber.Ctx) error
- type AuthConfig
- type Page
- type PagesNavigator
- type Reader
- type Result
- type Sender
- type Users
- type UsersConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func NewAuth ¶
func NewAuth(repository authRepository, sender recoveryEmail, cfg AuthConfig, printers map[string]*message.Printer) *Auth
func (*Auth) EditPassword ¶
func (*Auth) UpdatePassword ¶
type AuthConfig ¶
type PagesNavigator ¶
type PagesNavigator struct {}
PagesNavigator contains all pages links, as well as links to the previous and next pages from the current one
type Reader ¶
type Reader interface { Search(keywords string, page, resultsPerPage int, wordsPerMinute float64) (*Result, error) Count() (uint64, error) Close() error Document(ID string) (metadata.Metadata, error) }
Reader defines a set of reading operations over an index
type Users ¶
type Users struct {
// contains filtered or unexported fields
}
func NewUsers ¶
func NewUsers(repository usersRepository, usersCfg UsersConfig) *Users
NewUsers returns a new instance of the users controller
func (*Users) Create ¶
Create gathers information coming from the new user form and creates a new user
type UsersConfig ¶ added in v3.1.1
Click to show internal directories.
Click to hide internal directories.