part

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 31 Imported by: 7

README

part

test PkgGoDev

介绍

自己编写/收集的一些go组件,增加复用

使用代理 export GOPROXY="https://goproxy.io"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checkfile

func Checkfile() *checkfile

func Exec

func Exec() *lexec

func File

func File() *file

func Flate

func Flate() *lflate

func Get

func Get(r Rval) (o *get)

func GetRV

func GetRV(i *[]interface{}, num int) []interface{}

func Json

func Json() *json

func Lock

func Lock() *lock

func Logf

func Logf() *logl

func Md5

func Md5() *md5l

func Net

func Net() *netl

func Port

func Port() *port

func RZip

func RZip() *rZip

func Rand

func Rand() *random

func Req

func Req() *req

func Session

func Session() *session

func Stringf

func Stringf() *stringl

func Sys

func Sys() *sys

func Zip

func Zip() *lzip

Types

type Filel

type Filel struct {
	File    string //src
	Write   bool   //false:read
	Loc     int64  //WriteOrRead loc ;0:rewrite Or read all;-1 write on end
	ReadNum int64
	Context []interface{} //Write string
}

type Limitl

type Limitl struct {
	Stop         bool
	Max          int
	Millisecond  int
	MilliTimeOut int
	Channl       chan bool
}

func Limit

func Limit(Max, Millisecond, MilliTimeOut int) *Limitl

func (*Limitl) TO

func (l *Limitl) TO() bool

type Rval

type Rval struct {
	Url              string
	PostStr          string
	Timeout          int
	Referer          string
	Cookie           string
	Proxy            string
	ContentType      string
	Accept           string
	AcceptLanguage   string
	Connection       string
	Retry            int
	SleepTime        int
	JustResponseCode bool
	SaveToPath       string
}

type Signal

type Signal struct {
	// contains filtered or unexported fields
}

func (*Signal) Done

func (i *Signal) Done()

func (*Signal) Init added in v0.0.2

func (i *Signal) Init() (o *Signal)

func (*Signal) Islive

func (i *Signal) Islive() (islive bool)

func (*Signal) Wait

func (i *Signal) Wait()

Directories

Path Synopsis
msgq module

Jump to

Keyboard shortcuts

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