pool

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package pool url 缓存池

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

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

func GetItem

func GetItem(name string) (*Item, error)

GetItem 唯一标识文件名

func NewItem

func NewItem(name, u string) (*Item, error)

NewItem 唯一标识文件名 文件链接

func (*Item) Name

func (t *Item) Name() string

Name item 的 name

func (*Item) Push

func (t *Item) Push(key string) (err error)

Push 推送 item

func (*Item) String

func (t *Item) String() string

String item 的 url

Jump to

Keyboard shortcuts

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