serve

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	base.Config
	UploadConfig
}

type Service

type Service struct {
	*Config
	*base.Service
}

func NewService

func NewService(c *Config, s *base.Service) *Service

type UploadConfig

type UploadConfig struct {
	WebRouter                 bool   `json:"web_router"`
	WebRouterRootPath         string `json:"web_router_root_path"`
	BuildInFileServer         bool   `json:"build_in_file_server"`
	PublishDownloadUrl        bool   `json:"publish_download_url"`
	DownloadLocalUrlDirectory string `json:"download_local_url_directory"`
	AllowDownloadLocal        bool   `json:"allow_download_local"`
	MaxUploadFileSize         int64  `json:"max_file_size"`
	CheckUser                 bool   `json:"check_user"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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