part

package module
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 31 Imported by: 7

README

part

test PkgGoDev


LICENSE

使用了以下项目,十分感谢


介绍

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

buf map变量的save,load,get,set

get 爬虫

session 会话(超时)验证

msgq 消息队列

...

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checkfile

func Checkfile() *checkfile

func Cookies_List_2_Map added in v0.2.0

func Cookies_List_2_Map(Cookies []*http.Cookie) (o map[string]string)

func Cookies_String_2_Map added in v0.2.0

func Cookies_String_2_Map(Cookies string) (o map[string]string)

func Exec

func Exec() *lexec

func File

func File() *file

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 Map_2_Cookies_String added in v0.2.0

func Map_2_Cookies_String(Cookies map[string]string) (o string)

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 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
	Proxy            string
	Retry            int
	SleepTime        int
	JustResponseCode bool
	SaveToPath       string

	Header map[string]string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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