api

package
v0.0.0-...-4189b2e Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 6 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 NewServer

func NewServer(store *db.Store) *Server

func (*Server) CreateUser

func (server *Server) CreateUser(ctx *gin.Context)

func (*Server) DeleteUser

func (server *Server) DeleteUser(ctx *gin.Context)

func (*Server) GetUserByEmail

func (server *Server) GetUserByEmail(ctx *gin.Context)

func (*Server) GetUserById

func (server *Server) GetUserById(ctx *gin.Context)

func (*Server) ListUsers

func (server *Server) ListUsers(ctx *gin.Context)

func (*Server) Start

func (server *Server) Start(address string) error

func (*Server) UpdateUser

func (server *Server) UpdateUser(ctx *gin.Context)

Jump to

Keyboard shortcuts

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