timer

package
v1.6.7 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: Apache-2.0 Imports: 5 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete added in v1.6.7

func Delete(node *Node)

func Run added in v1.6.7

func Run(closeSig chan bool)

func SetTimer added in v1.6.7

func SetTimer(inteval uint32, handler func(interface{}), args interface{})

Types

type LinkedList added in v1.6.7

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

func NewLinkedList added in v1.6.7

func NewLinkedList() *LinkedList

func (LinkedList) GetHead added in v1.6.7

func (this LinkedList) GetHead() *Node

*

  • 获取表头

func (LinkedList) GetLast added in v1.6.7

func (this LinkedList) GetLast() *Node

*

  • 获取表尾

func (LinkedList) Length added in v1.6.7

func (this LinkedList) Length() uint

func (*LinkedList) PushBack added in v1.6.7

func (this *LinkedList) PushBack(node Node) *Node

type Node added in v1.6.7

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

定义节点

func (*Node) Data added in v1.6.7

func (this *Node) Data() (data interface{})

func (*Node) InsertHead added in v1.6.7

func (this *Node) InsertHead(node Node) *Node

func (*Node) Next added in v1.6.7

func (this *Node) Next() (node *Node)

func (*Node) Prev added in v1.6.7

func (this *Node) Prev() (node *Node)

func (*Node) SetData added in v1.6.7

func (this *Node) SetData(data interface{})

Jump to

Keyboard shortcuts

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