Documentation
¶
Overview ¶
Copyright © 2023 Verifa <info@verifa.io> SPDX-License-Identifier: Apache-2.0
Copyright © 2023 Verifa <info@verifa.io> SPDX-License-Identifier: Apache-2.0
Index ¶
- func GetInfo(w http.ResponseWriter, r *http.Request)
- func New(ctx context.Context, store *store.Store) (*chi.Mux, error)
- type ServerImpl
- func (s *ServerImpl) CloseDB()
- func (s *ServerImpl) CreateNote(w http.ResponseWriter, r *http.Request)
- func (s *ServerImpl) DeleteNote(w http.ResponseWriter, r *http.Request)
- func (s *ServerImpl) GetNote(w http.ResponseWriter, r *http.Request)
- func (s *ServerImpl) QueryAllNotes(w http.ResponseWriter, r *http.Request)
- func (s *ServerImpl) UpdateNote(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServerImpl ¶
type ServerImpl struct {
// contains filtered or unexported fields
}
func (*ServerImpl) CloseDB ¶
func (s *ServerImpl) CloseDB()
func (*ServerImpl) CreateNote ¶
func (s *ServerImpl) CreateNote(w http.ResponseWriter, r *http.Request)
func (*ServerImpl) DeleteNote ¶
func (s *ServerImpl) DeleteNote(w http.ResponseWriter, r *http.Request)
func (*ServerImpl) GetNote ¶
func (s *ServerImpl) GetNote(w http.ResponseWriter, r *http.Request)
func (*ServerImpl) QueryAllNotes ¶
func (s *ServerImpl) QueryAllNotes(w http.ResponseWriter, r *http.Request)
func (*ServerImpl) UpdateNote ¶
func (s *ServerImpl) UpdateNote(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.