service

package
v0.0.0-...-b033284 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountRouter

func AccountRouter(svc *account.Service, r *gin.RouterGroup)

AccountRouter sets up all the controller functions to our router

func AuthRouter

func AuthRouter(svc *auth.Service, r *gin.Engine)

AuthRouter creates new auth http service

func UserRouter

func UserRouter(svc *user.Service, r *gin.RouterGroup)

UserRouter declares the orutes for users router group

Types

type AccountService

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

AccountService represents the account http service

type Auth

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

Auth represents auth http service

type User

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

User represents the user http service

Jump to

Keyboard shortcuts

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