Documentation ¶
Overview ¶
Copyright (C) 2021 Sysreturn Community Contributors SPDX-License-Identifier: AGPL-3.0-or-later
Copyright (C) 2021 Sysreturn Community Contributors SPDX-License-Identifier: AGPL-3.0-or-later
Copyright (C) 2021 Sysreturn Community Contributors SPDX-License-Identifier: AGPL-3.0-or-later
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorLogger ¶
func WithRoutes ¶
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...RouterOptionFunc) (*Router, error)
func (*Router) RequestMustAuth ¶
type RouterOptionFunc ¶
func WithDB ¶
func WithDB(db *sql.DB) RouterOptionFunc
func WithStorage ¶
func WithStorage(stor storage.Storage) RouterOptionFunc
Click to show internal directories.
Click to hide internal directories.