Documentation
¶
Index ¶
- Constants
- Variables
- func New(h *handler) (*echo.Echo, error)
- func NewHandler(optFuncs ...func(*handlerOpts)) (*handler, error)
- func WithBlobStore(fs *blobstore.Store) func(*handlerOpts)
- func WithConfig(config *config.Server) func(*handlerOpts)
- func WithEmail(email *email.Client) func(*handlerOpts)
- func WithFileSystem(fileSystem *embed.FS) func(*handlerOpts)
- func WithKVStore(kvStore *kvstore.KVStore) func(*handlerOpts)
- func WithRepo(repo *repo.Repo) func(*handlerOpts)
Constants ¶
View Source
const ( RoleUser role = iota + 1 RoleStaff RoleAdmin )
Variables ¶
View Source
var (
ErrUserNotLoggedIn = errors.New("user is not logged in")
)
Functions ¶
func NewHandler ¶
func NewHandler(optFuncs ...func(*handlerOpts)) (*handler, error)
func WithBlobStore ¶
func WithConfig ¶
func WithFileSystem ¶
func WithKVStore ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.