vault: github.com/hashicorp/vault/vendor/github.com/hashicorp/go-uuid Index | Files

package uuid

import "github.com/hashicorp/vault/vendor/github.com/hashicorp/go-uuid"

Index

Package Files

uuid.go

func FormatUUID Uses

func FormatUUID(buf []byte) (string, error)

func GenerateRandomBytes Uses

func GenerateRandomBytes(size int) ([]byte, error)

GenerateRandomBytes is used to generate random bytes of given size.

func GenerateRandomBytesWithReader Uses

func GenerateRandomBytesWithReader(size int, reader io.Reader) ([]byte, error)

GenerateRandomBytesWithReader is used to generate random bytes of given size read from a given reader.

func GenerateUUID Uses

func GenerateUUID() (string, error)

GenerateUUID is used to generate a random UUID

func GenerateUUIDWithReader Uses

func GenerateUUIDWithReader(reader io.Reader) (string, error)

GenerateUUIDWithReader is used to generate a random UUID with a given Reader

func ParseUUID Uses

func ParseUUID(uuid string) ([]byte, error)

Package uuid imports 4 packages (graph). Updated 2019-10-18. Refresh now. Tools for package owners.