server

package
v0.0.0-...-0fdad5e Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(config *config.Config) (*Server, error)

func (*Server) GetAdminBase

func (s *Server) GetAdminBase(w http.ResponseWriter, r *http.Request)

func (*Server) GetAdminCollection

func (s *Server) GetAdminCollection(w http.ResponseWriter, r *http.Request)

func (*Server) GetAdminDashboard

func (s *Server) GetAdminDashboard(w http.ResponseWriter, r *http.Request)

func (*Server) GetAdminEdit

func (s *Server) GetAdminEdit(w http.ResponseWriter, r *http.Request)

func (*Server) GetAdminItems

func (s *Server) GetAdminItems(w http.ResponseWriter, r *http.Request)

func (*Server) GetAdminLogin

func (s *Server) GetAdminLogin(w http.ResponseWriter, r *http.Request)

func (*Server) GetAdminSettings

func (s *Server) GetAdminSettings(w http.ResponseWriter, r *http.Request)

func (*Server) GetAdminStatic

func (s *Server) GetAdminStatic(w http.ResponseWriter, r *http.Request)

func (*Server) PostAdminItem

func (s *Server) PostAdminItem(w http.ResponseWriter, r *http.Request)

func (*Server) PostAdminLogin

func (s *Server) PostAdminLogin(w http.ResponseWriter, r *http.Request)

func (*Server) PutAdminItem

func (s *Server) PutAdminItem(w http.ResponseWriter, r *http.Request)

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context) error

func (*Server) Start

func (s *Server) Start() error

Jump to

Keyboard shortcuts

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