user

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(srv *server.Server, r chi.Router)

Types

type PatchSettingsRequest

type PatchSettingsRequest struct {
	ReadChangelog      omitnull.Val[string] `json:"read_changelog"`
	ReadSettingsNotice omitnull.Val[string] `json:"read_settings_notice"`
	ReadGlobalNotice   omitnull.Val[int]    `json:"read_global_notice"`
}

type Server

type Server struct {
	*server.Server
}

func (*Server) GetSettings

func (s *Server) GetSettings(w http.ResponseWriter, r *http.Request) (err error)

func (*Server) PatchSettings

func (s *Server) PatchSettings(w http.ResponseWriter, r *http.Request) (err error)

Jump to

Keyboard shortcuts

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