messages

package
v0.0.0-...-8832f83 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Messaging

type Messaging struct {
	Debug bool
}

Messaging has some basic variables.

func (*Messaging) DebugMessage

func (f *Messaging) DebugMessage(message interface{})

DebugMessage sends a message with 'DEBUG:' in front of it

func (*Messaging) ErrorMessage

func (f *Messaging) ErrorMessage(message interface{})

ErrorMessage exit the program and give standard weaviate-error message.

func (*Messaging) ExitError

func (f *Messaging) ExitError(code int, message interface{})

ExitError exit the program and give standard weaviate-error message.

func (*Messaging) InfoMessage

func (f *Messaging) InfoMessage(message interface{})

InfoMessage sends a message with 'INFO:' in front of it

func (*Messaging) TimeTrack

func (f *Messaging) TimeTrack(start time.Time, info ...string)

TimeTrack tracks the time from execution to return of the function Usage: defer TimeTrack(time.Now())

Jump to

Keyboard shortcuts

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