Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrSemaphoreNotAllowed = errors.New("could not acquire semaphore")
)
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct {
// contains filtered or unexported fields
}
func NewAuthController ¶
func NewAuthController( client client.Client, boxClient shared.BoxAPI, jwtManager crypto.JwtManager, store *sessions.CookieStore, stateGenerator crypto.StateGenerator, config *config.ServerConfig, onlyoffice *shared.OnlyofficeConfig, oauth *oauth2.Config, logger log.Logger, session *sessions.CookieStore, ) AuthController
func (AuthController) BuildGetAuth ¶
func (c AuthController) BuildGetAuth() http.HandlerFunc
func (AuthController) BuildGetRedirect ¶
func (c AuthController) BuildGetRedirect() http.HandlerFunc
type EditorController ¶
type EditorController struct {
// contains filtered or unexported fields
}
func NewEditorController ¶
func NewEditorController( client client.Client, server *config.ServerConfig, store *sessions.CookieStore, logger log.Logger, ) EditorController
func (EditorController) BuildGetEditor ¶
func (c EditorController) BuildGetEditor() http.HandlerFunc
type FileController ¶
type FileController struct {
// contains filtered or unexported fields
}
func NewFileController ¶
func NewFileController( client client.Client, boxClient shared.BoxAPI, jwtManager crypto.JwtManager, credentials *oauth2.Config, fileUtil onlyoffice.OnlyofficeFileUtility, hasher crypto.Hasher, server *config.ServerConfig, onlyoffice *shared.OnlyofficeConfig, store *sessions.CookieStore, logger log.Logger, ) FileController
func (FileController) BuildConvertFile ¶
func (c FileController) BuildConvertFile() http.HandlerFunc
func (FileController) BuildConvertPage ¶
func (c FileController) BuildConvertPage() http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.