Skip to content

Commit

Permalink
fix up package docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmlb committed Apr 26, 2017
1 parent 9fd5d66 commit c3511e0
Show file tree
Hide file tree
Showing 53 changed files with 60 additions and 29 deletions.
3 changes: 2 additions & 1 deletion disc/disc.go
@@ -1,4 +1,3 @@
// Package discovery handles finding vFlow nodes through multicasting
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,8 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

// Package discovery handles finding vFlow nodes through multicasting
package discovery

import (
Expand Down
2 changes: 1 addition & 1 deletion ipfix/decoder.go
@@ -1,4 +1,3 @@
// Package ipfix decodes IPFIX packets
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package ipfix

import (
Expand Down
1 change: 1 addition & 0 deletions ipfix/decoder_test.go
Expand Up @@ -19,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package ipfix

import (
Expand Down
2 changes: 2 additions & 0 deletions ipfix/doc.go
@@ -0,0 +1,2 @@
// Package ipfix decodes IPFIX packets
package ipfix
2 changes: 1 addition & 1 deletion ipfix/interpret.go
@@ -1,4 +1,3 @@
// Package ipfix decodes IPFIX packets
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package ipfix

import (
Expand Down
2 changes: 1 addition & 1 deletion ipfix/marshal.go
@@ -1,4 +1,3 @@
// Package ipfix decodes IPFIX packets
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package ipfix

import (
Expand Down
2 changes: 1 addition & 1 deletion ipfix/marshal_test.go
@@ -1,4 +1,3 @@
// Package ipfix decodes IPFIX packets
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package ipfix

import (
Expand Down
2 changes: 1 addition & 1 deletion ipfix/memcache.go
@@ -1,4 +1,3 @@
// Package ipfix decodes IPFIX packets
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package ipfix

import (
Expand Down
2 changes: 1 addition & 1 deletion ipfix/memcache_rpc.go
@@ -1,4 +1,3 @@
// Package ipfix decodes IPFIX packets
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package ipfix

import (
Expand Down
1 change: 1 addition & 0 deletions ipfix/memcache_test.go
Expand Up @@ -19,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package ipfix

import (
Expand Down
2 changes: 1 addition & 1 deletion ipfix/rfc5102_model.go
@@ -1,4 +1,3 @@
// Package ipfix decodes IPFIX packets
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package ipfix

// FieldType is IPFIX Abstract Data Types RFC5102#section-3.1
Expand Down
2 changes: 2 additions & 0 deletions mirror/doc.go
@@ -0,0 +1,2 @@
// Package mirror replicates the IPFIX packets with spoofing feature to 3rd party collector
package mirror
1 change: 0 additions & 1 deletion mirror/mirror.go
Expand Up @@ -20,7 +20,6 @@
//: limitations under the License.
//: ----------------------------------------------------------------------------

// Package mirror replicates the IPFIX packets with spoofing feature to 3rd party collector
package mirror

import (
Expand Down
1 change: 1 addition & 0 deletions mirror/mirror_test.go
Expand Up @@ -19,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package mirror

import (
Expand Down
1 change: 1 addition & 0 deletions monitor/monitor.go
Expand Up @@ -19,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package main

import (
Expand Down
2 changes: 2 additions & 0 deletions monitor/store/doc.go
@@ -0,0 +1,2 @@
// Package store ingest monitoring time series data points to different back-ends
package store
1 change: 0 additions & 1 deletion monitor/store/store.go
Expand Up @@ -20,7 +20,6 @@
//: limitations under the License.
//: ----------------------------------------------------------------------------

// Package store ingest monitoring time series data points to different back-ends
package store

import (
Expand Down
1 change: 0 additions & 1 deletion netflow/v9/decoder.go
Expand Up @@ -20,7 +20,6 @@
//: limitations under the License.
//: ----------------------------------------------------------------------------

// Package netflow9 decodes netflow version v9 packets
package netflow9

import (
Expand Down
2 changes: 2 additions & 0 deletions netflow/v9/doc.go
@@ -0,0 +1,2 @@
// Package netflow9 decodes netflow version v9 packets
package netflow9
1 change: 0 additions & 1 deletion netflow/v9/memcache.go
Expand Up @@ -20,7 +20,6 @@
//: limitations under the License.
//: ----------------------------------------------------------------------------

// Package netflow9 decodes netflow version v9 packets
package netflow9

import (
Expand Down
2 changes: 2 additions & 0 deletions packet/doc.go
@@ -0,0 +1,2 @@
// Package packet decodes layer two, three and four OSI model layers
package packet
2 changes: 1 addition & 1 deletion packet/ethernet.go
@@ -1,4 +1,3 @@
// Package packet decodes layer two, three and four OSI model layers
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package packet

import (
Expand Down
2 changes: 1 addition & 1 deletion packet/ethernet_test.go
@@ -1,4 +1,3 @@
// Package packet decodes layer two, three and four OSI model layers
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package packet

import "testing"
Expand Down
2 changes: 1 addition & 1 deletion packet/icmp.go
@@ -1,4 +1,3 @@
// Package packet decodes layer two, three and four OSI model layers
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package packet

import "errors"
Expand Down
2 changes: 1 addition & 1 deletion packet/network.go
@@ -1,4 +1,3 @@
// Package packet decodes layer two, three and four OSI model layers
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package packet

import (
Expand Down
1 change: 1 addition & 0 deletions packet/network_test.go
Expand Up @@ -19,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package packet

import "testing"
Expand Down
2 changes: 1 addition & 1 deletion packet/packet.go
@@ -1,4 +1,3 @@
// Package packet decodes layer two, three and four OSI model layers
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package packet

import "errors"
Expand Down
1 change: 1 addition & 0 deletions packet/packet_test.go
Expand Up @@ -19,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package packet

import "testing"
Expand Down
2 changes: 1 addition & 1 deletion packet/transport.go
@@ -1,4 +1,3 @@
// Package packet decodes layer two, three and four OSI model layers
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package packet

import "errors"
Expand Down
1 change: 1 addition & 0 deletions packet/transport_test.go
Expand Up @@ -19,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package packet

import "testing"
Expand Down
2 changes: 2 additions & 0 deletions producer/doc.go
@@ -0,0 +1,2 @@
// Package producer pushes decoded messages to message queues
package producer
2 changes: 1 addition & 1 deletion producer/kafka.go
@@ -1,4 +1,3 @@
// Package producer push decoded messages to messaging queue
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package producer

import (
Expand Down
2 changes: 1 addition & 1 deletion producer/nsq.go
@@ -1,4 +1,3 @@
// Package producer push decoded messages to messaging queue
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package producer

import (
Expand Down
2 changes: 1 addition & 1 deletion producer/producer.go
@@ -1,4 +1,3 @@
// Package producer push decoded messages to messaging queue
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package producer

import (
Expand Down
1 change: 1 addition & 0 deletions producer/producer_test.go
Expand Up @@ -19,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package producer

import (
Expand Down
3 changes: 2 additions & 1 deletion reader/reader.go
@@ -1,4 +1,3 @@
// Package reader decodes a variable from buffer
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,8 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

// Package reader decodes a variable from buffer
package reader

import (
Expand Down
2 changes: 1 addition & 1 deletion reader/reader_test.go
@@ -1,4 +1,3 @@
// Package reader decodes a variable from buffer
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package reader

import (
Expand Down
2 changes: 1 addition & 1 deletion sflow/decoder.go
@@ -1,4 +1,3 @@
// Package sflow decodes sFlow packets
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package sflow

import (
Expand Down
1 change: 1 addition & 0 deletions sflow/decoder_test.go
Expand Up @@ -19,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package sflow

import (
Expand Down
2 changes: 2 additions & 0 deletions sflow/doc.go
@@ -0,0 +1,2 @@
// Package sflow decodes sFlow packets
package sflow
2 changes: 1 addition & 1 deletion sflow/flow_sample.go
@@ -1,4 +1,3 @@
// Package sflow decodes sFlow packets
//: ----------------------------------------------------------------------------
//: Copyright (C) 2017 Verizon. All Rights Reserved.
//: All Rights Reserved
Expand All @@ -20,6 +19,7 @@
//: See the License for the specific language governing permissions and
//: limitations under the License.
//: ----------------------------------------------------------------------------

package sflow

import (
Expand Down

0 comments on commit c3511e0

Please sign in to comment.