utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2016 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateUUID

func GenerateUUID(name string) uuid.UUID

Generates a uuid for a minion

func NewConcurrentMap

func NewConcurrentMap() *concurrentMap

Creates a new concurrent map

func NewConcurrentSlice

func NewConcurrentSlice() *concurrentSlice

Convenience function that creates a new concurrent slice

Types

type ConcurrentMapItem

type ConcurrentMapItem struct {
	Key   string
	Value interface{}
}

Concurrent map item

type ConcurrentSliceItem

type ConcurrentSliceItem struct {
	Index int
	Value interface{}
}

Concurrent slice item

Jump to

Keyboard shortcuts

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