<commit_before>package nsq

const ProtocolV1Magic = "  V1"

const (
	ClientStateV1Init         = 0
	ClientStateV1WaitGet      = 1
	ClientStateV1WaitResponse = 2
)

var (
	ClientErrV1Invalid    = ClientError{"E_INVALID"}
	ClientErrV1BadTopic   = ClientError{"E_BAD_TOPIC"}
	ClientErrV1BadChannel = ClientError{"E_BAD_CHANNEL"}
	ClientErrV1BadMessage = ClientError{"E_BAD_MESSAGE"}
)

type ProtocolV1 interface {
	Protocol
	SUB(client StatefulReadWriter, params []string) ([]byte, error)
	GET(client StatefulReadWriter, params []string) ([]byte, error)
	FIN(client StatefulReadWriter, params []string) ([]byte, error)
	REQ(client StatefulReadWriter, params []string) ([]byte, error)
	PUB(client StatefulReadWriter, params []string) ([]byte, error)
}<commit_msg>remove older unused methods on V1 protocol<commit_after>package nsq

const ProtocolV1Magic = "  V1"

const (
	ClientStateV1Init         = 0
)

var (
	ClientErrV1Invalid    = ClientError{"E_INVALID"}
)

type ProtocolV1 interface {
	Protocol
	PUB(client StatefulReadWriter, params []string) ([]byte, error)
}
{'fraction_non_alphanumeric': 0.10610328638497653, 'fraction_numerical': 0.018779342723004695, 'mean_word_length': 5.580246913580247, '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': '6223141', 'n_tokens_mistral': 363, 'n_tokens_neox': 355, 'n_words': 82}