util

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2019 License: Apache-2.0 Imports: 7 Imported by: 3

README

DITAS - TUBUtil

The TUBUtil is a go lang library used within some of the DITAS components of TU Berlin.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

To install the go lang tools go to: Go Getting Started

Installing

As it is a library, all you need to do is run the following command:

go get github.com/DITAS-Project/TUBUtil

Running the tests

For testing you can use:

 go test ./...

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the Apache 2.0 - see the LICENSE.md file for details.

Acknowledgments

This is being developed for the DITAS Project

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetElasticIndex

func GetElasticIndex(vdcName string) string

func SetLog

func SetLog(entty *logrus.Entry)

func SetLogger

func SetLogger(nLogger *logrus.Logger)

func WaitForAvailible

func WaitForAvailible(url string, maxTimeout *time.Duration) error

func WaitForGreen

func WaitForGreen(es *elastic.Client, maxTimeout *time.Duration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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