controllers

package
v0.0.0-...-6192489 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentController

type CommentController struct {
	CommentService services.ICommentService
}

CommentController is

func InitCommentController

func InitCommentController() *CommentController

InitCommentController is

func (*CommentController) GetComments

func (c *CommentController) GetComments(res http.ResponseWriter, req *http.Request)

GetComments is

func (*CommentController) StoreComment

func (c *CommentController) StoreComment(res http.ResponseWriter, req *http.Request)

StoreComment is

type DocumentController

type DocumentController struct {
	DocumentService services.IDocumentService
}

DocumentController is

func InitDocumentController

func InitDocumentController() *DocumentController

InitDocumentController is

func (*DocumentController) CountDocByUser

func (c *DocumentController) CountDocByUser(res http.ResponseWriter, req *http.Request)

CountDocByUser count by user

func (*DocumentController) GetDocActivity

func (c *DocumentController) GetDocActivity(res http.ResponseWriter, req *http.Request)

GetDocActivity is

func (*DocumentController) GetDocuments

func (c *DocumentController) GetDocuments(res http.ResponseWriter, req *http.Request)

GetDocuments is

func (*DocumentController) GetSingleDocument

func (c *DocumentController) GetSingleDocument(res http.ResponseWriter, req *http.Request)

GetSingleDocument is

func (*DocumentController) SaveDraft

func (c *DocumentController) SaveDraft(res http.ResponseWriter, req *http.Request)

SaveDraft saving draft labels : 1

func (*DocumentController) SaveDraftMultiple

func (c *DocumentController) SaveDraftMultiple(res http.ResponseWriter, req *http.Request)

SaveDraftMultiple saving draft labels : 1

func (*DocumentController) SendSigning

func (c *DocumentController) SendSigning(res http.ResponseWriter, req *http.Request)

SendSigning saving draft labels : 1

func (*DocumentController) SendSigningMultiple

func (c *DocumentController) SendSigningMultiple(res http.ResponseWriter, req *http.Request)

SendSigningMultiple signing

func (*DocumentController) UpdateDocument

func (c *DocumentController) UpdateDocument(res http.ResponseWriter, req *http.Request)

UpdateDocument update document attribute

type EsignController

type EsignController struct {
	EsignService services.IEsignService
}

EsignController is

func InitEsignController

func InitEsignController() *EsignController

InitEsignController is

func (*EsignController) SignDoc

func (c *EsignController) SignDoc(res http.ResponseWriter, req *http.Request)

SignDoc update esign attribute

func (*EsignController) SignDocMutiple

func (c *EsignController) SignDocMutiple(res http.ResponseWriter, req *http.Request)

SignDocMutiple update esign attribute

type HealthCheckController

type HealthCheckController struct{}

HealthCheckController is

func InitHealthCheckController

func InitHealthCheckController() *HealthCheckController

InitHealthCheckController is

func (*HealthCheckController) HealthCheck

func (h *HealthCheckController) HealthCheck(res http.ResponseWriter, req *http.Request)

HealthCheck is

type PlayerController

type PlayerController struct {
	PlayerService services.IPlayerService
}

PlayerController is

func InitPlayerController

func InitPlayerController() *PlayerController

InitPlayerController is

func (*PlayerController) StorePlayer

func (p *PlayerController) StorePlayer(res http.ResponseWriter, req *http.Request)

StorePlayer is

type UploadController

type UploadController struct {
	UploadService services.IUploadService
}

UploadController is

func InitUploadController

func InitUploadController() *UploadController

InitUploadController is

func (*UploadController) GetFile

func (c *UploadController) GetFile(res http.ResponseWriter, req *http.Request)

GetFile is

func (*UploadController) Upload

func (c *UploadController) Upload(res http.ResponseWriter, req *http.Request)

Upload is

type UserController

type UserController struct {
	UserService services.IUserService
	Redis       infrastructures.IRedis
}

UserController is

func InitUserController

func InitUserController() *UserController

InitUserController is

func (*UserController) GetAll

func (c *UserController) GetAll(res http.ResponseWriter, req *http.Request)

GetAll get all users

func (*UserController) Login

func (c *UserController) Login(res http.ResponseWriter, req *http.Request)

Login is

func (*UserController) LoginMehong

func (c *UserController) LoginMehong(res http.ResponseWriter, req *http.Request)

LoginMehong get all users

func (*UserController) Profile

func (c *UserController) Profile(res http.ResponseWriter, req *http.Request)

Profile get user profile

func (*UserController) UploadProfile

func (c *UserController) UploadProfile(res http.ResponseWriter, req *http.Request)

UploadProfile get user profile

Jump to

Keyboard shortcuts

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