Documentation ¶
Index ¶
- Constants
- Variables
- func Copy(c echo.Context) error
- func Delete(c echo.Context) error
- func Direct(c echo.Context) error
- func Files(c echo.Context) error
- func Folders(c echo.Context) error
- func GetDataJson(c echo.Context) error
- func GetInfo(c echo.Context) error
- func GetMetaInfo(c echo.Context) error
- func GetText(c echo.Context) error
- func IconGet(c echo.Context) error
- func MakeDir(c echo.Context) error
- func MakeFile(c echo.Context) error
- func MarkdownRender(c echo.Context) error
- func Move(c echo.Context) error
- func PostText(c echo.Context) error
- func Rename(c echo.Context) error
- func Search(c echo.Context) error
- func ServerRecover(debug bool) echo.MiddlewareFunc
- func Upload(c echo.Context) error
- type Dashboard
- type FSFeatures
- type FSInfo
- type FSStats
- type MusicMeta
- type Response
- type Skips
- type SubMatcher
Constants ¶
View Source
const ConstCookieName = "metasdns_cookie"
View Source
const EventSuperviseStatus = "EventSuperviseStatus"
View Source
const UserSession = "metasdns_user_session"
View Source
const UserSessionLevel = "metasdns_user_session_level"
View Source
const UserSessionName = "metasdns_user_session_name"
Variables ¶
View Source
var Drive wfs.Drive
Functions ¶
func GetMetaInfo ¶
func GetMetaInfo(c echo.Context) error
Types ¶
type FSFeatures ¶
type FSInfo ¶
type FSInfo struct { Stats FSStats `json:"stats"` Features FSFeatures `json:"features"` }
type SubMatcher ¶
type SubMatcher struct { Id string `json:"id" form:"id"` Enabled int `json:"enabled" form:"enabled"` Upstreams string `json:"upstreams,omitempty" form:"upstreams"` Name string `json:"name,omitempty" form:"name"` To string `json:"to,omitempty" form:"to"` ClientIps string `json:"client_ips,omitempty" form:"client_ips"` AnwserIps string `json:"anwser_ips,omitempty" form:"anwser_ips"` QueryNames string `json:"query_names,omitempty" form:"query_names"` AnwserCNames string `json:"anwser_cnames,omitempty" form:"anwser_cnames"` ForceEcs string `json:"force_ecs,omitempty" form:"force_ecs"` Notify string `json:"notify,omitempty" form:"notify"` Nxdomain int `json:"nxdomain" form:"nxdomain"` Ipset string `json:"ipset,omitempty" form:"ipset"` }
func (SubMatcher) CheckDuplicate ¶
func (m SubMatcher) CheckDuplicate(m2 SubMatcher) bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.