local

package
v0.0.0-...-2f69930 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	*base.Service
	// contains filtered or unexported fields
}

func NewService

func NewService(s *base.Service) *Service

func (*Service) SaveEncodeFile

func (self *Service) SaveEncodeFile(r *http.Request, fileFormName, remark string) (fm *model.Upload, err error)

func (*Service) SaveFormFile

func (self *Service) SaveFormFile(r *http.Request, fileFormName, remark string) (fm *model.Upload, err error)

func (*Service) SetUserID

func (self *Service) SetUserID(userID primitive.ObjectID)

func (*Service) SetUserIDFromRequestClaims

func (self *Service) SetUserIDFromRequestClaims(r *http.Request) error

Jump to

Keyboard shortcuts

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