server

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInfo

func GetInfo(w http.ResponseWriter, r *http.Request)

func New

func New(ctx context.Context, store *store.Store) (*chi.Mux, error)

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)

Jump to

Keyboard shortcuts

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