Help us shape the future of Go! Take the 2026 Go Developer Survey

raiqub

package module
v0.0.0-...-39fff65 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2016 License: Apache-2.0 Imports: 4 Imported by: 4

README

Raiqub

Raiqub is a library for the Go Programming Language. It provides some common tasks for Web Services implementation.

The TimedStore type offers expirable values and TokenStore provides management of session tokens.

Status

Build Status Coverage GoDoc

Installation

To install Raiqub library run the following command:

go get github.com/skarllot/raiqub

Documentation

Overview

Package raiqub provides some common tasks for Web Services implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TrueForAll

func TrueForAll(string) bool

func WaitFunc

func WaitFunc(interval, timeout time.Duration, f func() bool) bool

WaitFunc waits until specified function returns true.

func WaitPeerListening

func WaitPeerListening(network, address string, timeout time.Duration) bool

WaitPeerListening wait for specified peer be ready for new connections.

Types

type DuplicatedKeyError

type DuplicatedKeyError string

A DuplicatedKeyError represents an error when the provided new key to insert to an dictionary already exists.

func (DuplicatedKeyError) Error

func (e DuplicatedKeyError) Error() string

Error returns string representation of current instance error.

type InvalidKeyError

type InvalidKeyError string

A InvalidKeyError represents an error when the provided key to retrieve of and dictionary does not exist.

func (InvalidKeyError) Error

func (e InvalidKeyError) Error() string

Error returns string representation of current instance error.

type LockStatus

type LockStatus int
const (
	Unlocked LockStatus = iota
	ReadLocked
	WriteLocked
)

type PredicateStringFunc

type PredicateStringFunc func(string) bool

type StringSlice

type StringSlice []string

A StringSlice represents an array of string.

func (StringSlice) Exists

func (s StringSlice) Exists(str string) bool

Exists determines whether specified string exists into current slice.

func (StringSlice) ExistsAllIgnoreCase

func (s StringSlice) ExistsAllIgnoreCase(str []string) bool

ExistsAllIgnoreCase determine whether all specified strings exists into current slice (ignores letter casing).

func (StringSlice) ExistsIgnoreCase

func (s StringSlice) ExistsIgnoreCase(str string) bool

ExistsIgnoreCase determines whether specified string exists into current slice (ignores letter casing).

func (StringSlice) IndexOf

func (s StringSlice) IndexOf(str string) int

IndexOf looks for specified string into current slice.

func (StringSlice) IndexOfIgnoreCase

func (s StringSlice) IndexOfIgnoreCase(str string) int

IndexOfIgnoreCase looks for specified string, disregarding letter casing, into current slice.

Directories

Path Synopsis
Package crypt provides some cryptographic operations.
Package crypt provides some cryptographic operations.
Package raiqub provides some common tasks for Web Services implementations.
Package raiqub provides some common tasks for Web Services implementations.
Package docker provides some operations to manage Docker containers.
Package docker provides some operations to manage Docker containers.
Package http provides operations to help HTTP server implementation.
Package http provides operations to help HTTP server implementation.
Package test provides some operations for testing.
Package test provides some operations for testing.
rngout command
This test program outputs to STDOUT raiqub random generator.
This test program outputs to STDOUT raiqub random generator.

Jump to

Keyboard shortcuts

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