Documentation ¶
Index ¶
- type CommentController
- type DocumentController
- func (c *DocumentController) CountDocByUser(res http.ResponseWriter, req *http.Request)
- func (c *DocumentController) GetDocActivity(res http.ResponseWriter, req *http.Request)
- func (c *DocumentController) GetDocuments(res http.ResponseWriter, req *http.Request)
- func (c *DocumentController) GetSingleDocument(res http.ResponseWriter, req *http.Request)
- func (c *DocumentController) SaveDraft(res http.ResponseWriter, req *http.Request)
- func (c *DocumentController) SaveDraftMultiple(res http.ResponseWriter, req *http.Request)
- func (c *DocumentController) SendSigning(res http.ResponseWriter, req *http.Request)
- func (c *DocumentController) SendSigningMultiple(res http.ResponseWriter, req *http.Request)
- func (c *DocumentController) UpdateDocument(res http.ResponseWriter, req *http.Request)
- type EsignController
- type HealthCheckController
- type PlayerController
- type UploadController
- type UserController
- func (c *UserController) GetAll(res http.ResponseWriter, req *http.Request)
- func (c *UserController) Login(res http.ResponseWriter, req *http.Request)
- func (c *UserController) LoginMehong(res http.ResponseWriter, req *http.Request)
- func (c *UserController) Profile(res http.ResponseWriter, req *http.Request)
- func (c *UserController) UploadProfile(res http.ResponseWriter, req *http.Request)
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 (*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 (*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 (*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 (*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