From 9d39ea51a7774cfbc680a99d9deafffecc26e295 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Sun, 3 Mar 2019 11:56:26 -0800 Subject: Add `go mod` support (#2503) * Remove vendor and go-dep Signed-off-by: Yong Tang * Add go.mod Signed-off-by: Yong Tang * Update Makefile and .travis.yml Signed-off-by: Yong Tang --- vendor/github.com/dnstap/golang-dnstap/dnstap.go | 32 ------------------------ 1 file changed, 32 deletions(-) delete mode 100644 vendor/github.com/dnstap/golang-dnstap/dnstap.go (limited to 'vendor/github.com/dnstap/golang-dnstap/dnstap.go') diff --git a/vendor/github.com/dnstap/golang-dnstap/dnstap.go b/vendor/github.com/dnstap/golang-dnstap/dnstap.go deleted file mode 100644 index d4f786ae7..000000000 --- a/vendor/github.com/dnstap/golang-dnstap/dnstap.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2014 by Farsight Security, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package dnstap - -const outputChannelSize = 32 - -var FSContentType = []byte("protobuf:dnstap.Dnstap") - -type Input interface { - ReadInto(chan []byte) - Wait() -} - -type Output interface { - GetOutputChannel() chan []byte - RunOutputLoop() - Close() -} -- cgit v1.2.3