tc

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: BSD-3-Clause Imports: 35 Imported by: 0

Documentation

Overview

Copyright (c) 2023, donnie <donnie4w@gmail.com> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

github.com/donnie4w/wfs

Copyright (c) 2023, donnie <donnie4w@gmail.com> All rights reserved. Use of t source code is governed by a BSD-style license that can be found in the LICENSE file.

github.com/donnie4w/wfs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminView

type AdminView struct {
	Show       string
	AdminUser  map[string]string
	Init       bool
	ShowCreate bool
}

type Cpu

type Cpu struct {
	Cpus  []float64
	Cores int
}

type Disk

type Disk struct {
	UsedGB  uint64
	TotalGB uint64
}

type FileBean

type FileBean struct {
	Id   int
	Name string
	Time string
	Size int
}

type FilePage

type FilePage struct {
	CurrentNum  int
	ClientPort  int
	RevProxy    string
	CliProtocol string
	TotalNum    int
	FS          []*FileBean
}

type FragmentBean

type FragmentBean struct {
	Name         string
	Time         string
	Status       int
	FragmentSize int64
	FileSize     int64
}

type LANG

type LANG int
const (
	ZH LANG = 0
	EN LANG = 1
)

type Ram

type Ram struct {
	UsedMB  uint64
	TotalMB uint64
}

type TXTYPE

type TXTYPE int
const (
	LOGIN TXTYPE
	INIT
	ABOUT
	FILE
	FRAGMENT
	MONITOR
)

Jump to

Keyboard shortcuts

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