<commit_before>// Package amqputil provides some abstractions for AMQP for easy the testing.
// The best way to test
package amqputil

type (
	// Option is a map of AMQP configurations
	Option map[string]interface{}

	Conn interface {
		Channel() (Channel, error)
		Dial(amqpuri string) error
		AutoRedial(errChan chan error, done chan bool)
		Close() error
	}

	// Channel is a AMQP channel interface
	Channel interface {
		Ack(tag uint64, multiple bool) error
		Nack(tag uint64, multiple bool, requeue bool) error
		Reject(tag uint64, requeue bool) error
<commit_msg>added doc to Conn interface<commit_after>// Package amqputil provides some abstractions for AMQP for easy the testing.
// The best way to test
package amqputil

type (
	// Option is a map of AMQP configurations
	Option map[string]interface{}

	// Conn is the amqp connection interface
	Conn interface {
		Channel() (Channel, error)
		Dial(amqpuri string) error
		AutoRedial(errChan chan error, done chan bool)
		Close() error
	}

	// Channel is a AMQP channel interface
	Channel interface {
		Ack(tag uint64, multiple bool) error
		Nack(tag uint64, multiple bool, requeue bool) error
		Reject(tag uint64, requeue bool) error

{'fraction_non_alphanumeric': 0.07202680067001675, 'fraction_numerical': 0.010050251256281407, 'mean_word_length': 4.128755364806867, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5761141', 'n_tokens_mistral': 397, 'n_tokens_neox': 362, 'n_words': 150}