v1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIV1Router

type APIV1Router interface {
	models.Router
	GetUsers(*gin.Context)
	UpdateUser(*gin.Context)
	Login(*gin.Context)
	GetMe(*gin.Context)
	PutMe(*gin.Context)
	Register(*gin.Context)
	VerifyEmail(*gin.Context)
	GetTeams(*gin.Context)
	CreateTeam(*gin.Context)
	LeaveTeam(*gin.Context)
	JoinTeam(*gin.Context)
	GetTeamMembers(*gin.Context)
	GetTeammates(*gin.Context)
	GetPasswordResetEmail(*gin.Context)
	ResetPassword(*gin.Context)
}

APIV1Router is the router for v1 of the API

func NewAPIV1Router

func NewAPIV1Router(logger *zap.Logger, cfg *config.AppConfig, env *environment.Env, userService services.UserService, emailService services.EmailService, teamService services.TeamService) APIV1Router

NewAPIV1Router creates a APIV1Router

Jump to

Keyboard shortcuts

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