id: 1 unit: func newHandlerFromConfig() file: internal/httpserver/httpserver.go start line: 116 end line: 254 size: 121 LOC McCabe index: 29 number of parameters: 3 id: 2 unit: func ExecuteContext() file: internal/command/root.go start line: 53 end line: 135 size: 57 LOC McCabe index: 2 number of parameters: 1 id: 3 unit: func New() file: internal/httpserver/httpserver.go start line: 42 end line: 82 size: 35 LOC McCabe index: 9 number of parameters: 2 id: 4 unit: func() file: internal/command/pcap.go start line: 57 end line: 98 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 5 unit: func() file: internal/output/gcppubsub/gcppubsub.go start line: 104 end line: 140 size: 31 LOC McCabe index: 9 number of parameters: 1 id: 6 unit: func() file: internal/output/webhook/webhook.go start line: 78 end line: 110 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 7 unit: func() file: internal/command/log.go start line: 63 end line: 96 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 8 unit: func() file: internal/output/lumberjack/lumberjack.go start line: 48 end line: 77 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 9 unit: func() file: internal/output/gcppubsub/gcppubsub.go start line: 47 end line: 81 size: 27 LOC McCabe index: 8 number of parameters: 1 id: 10 unit: func Initialize() file: internal/output/util.go start line: 16 end line: 44 size: 25 LOC McCabe index: 7 number of parameters: 3 id: 11 unit: func() file: internal/output/tcp/tcp.go start line: 46 end line: 70 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 12 unit: func() file: internal/output/gcppubsub/gcppubsub.go start line: 161 end line: 185 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 13 unit: func New() file: internal/output/azureeventhub/azure_event_hub.go start line: 27 end line: 52 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 14 unit: func() file: internal/output/tls/tls.go start line: 48 end line: 72 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 15 unit: func makeBatchFromJSON() file: internal/output/lumberjack/lumberjack.go start line: 132 end line: 155 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 16 unit: func NewClient() file: internal/output/gcs/gcs.go start line: 81 end line: 100 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 17 unit: func New() file: internal/output/kafka/kafka.go start line: 26 end line: 46 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 18 unit: func splitAddress() file: internal/output/lumberjack/lumberjack.go start line: 95 end line: 118 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 19 unit: func() file: internal/output/webhook/webhook.go start line: 49 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 20 unit: func New() file: internal/output/webhook/webhook.go start line: 29 end line: 47 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: func() file: internal/command/log.go start line: 42 end line: 61 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: func() file: internal/httpserver/config.go start line: 46 end line: 64 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: func() file: internal/httpserver/httpserver.go start line: 84 end line: 105 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 24 unit: func RegularFiles() file: internal/cmdutil/validate.go start line: 28 end line: 43 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 25 unit: func() file: internal/output/gcppubsub/gcppubsub.go start line: 142 end line: 159 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 26 unit: func newLogRunner() file: internal/command/log.go start line: 24 end line: 40 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 27 unit: func newPCAPRunner() file: internal/command/pcap.go start line: 23 end line: 39 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 28 unit: func strRequest() file: internal/httpserver/httpserver.go start line: 256 end line: 270 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: func() file: internal/output/kafka/kafka.go start line: 74 end line: 89 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: func() file: internal/output/azureeventhub/azure_event_hub.go start line: 64 end line: 80 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 31 unit: func() file: internal/output/tls/tls.go start line: 31 end line: 46 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: func newHTTPServerRunner() file: internal/command/httpserver.go start line: 20 end line: 35 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 33 unit: func newConfigFromFile() file: internal/httpserver/config.go start line: 66 end line: 82 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 34 unit: func() file: internal/output/udp/udp.go start line: 36 end line: 50 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: func New() file: internal/output/gcppubsub/gcppubsub.go start line: 30 end line: 45 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: func() file: internal/output/azureblobstorage/azure_blob_storage.go start line: 50 end line: 62 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: func() file: internal/command/pcap.go start line: 41 end line: 55 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 38 unit: func waitForStartSignal() file: internal/command/root.go start line: 137 end line: 152 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 39 unit: func() file: internal/output/gcs/gcs.go start line: 68 end line: 79 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: func setHeaders() file: internal/output/webhook/webhook.go start line: 112 end line: 125 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 41 unit: func() file: internal/command/httpserver.go start line: 37 end line: 51 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 42 unit: func() file: internal/output/kafka/kafka.go start line: 61 end line: 72 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: func New() file: internal/output/lumberjack/lumberjack.go start line: 35 end line: 46 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: func ExpandGlobPatternsFromArgs() file: internal/cmdutil/validate.go start line: 45 end line: 55 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 45 unit: func makeBatch() file: internal/output/lumberjack/lumberjack.go start line: 120 end line: 130 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: func() file: internal/output/gcppubsub/gcppubsub.go start line: 89 end line: 102 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: func New() file: internal/output/factory.go start line: 28 end line: 39 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: func New() file: internal/output/gcs/gcs.go start line: 29 end line: 40 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: func() file: internal/output/gcs/gcs.go start line: 49 end line: 58 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 50 unit: func Execute() file: internal/command/root.go start line: 41 end line: 51 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: func waitForDelay() file: internal/command/root.go start line: 154 end line: 164 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 52 unit: func ValidateArgs() file: internal/cmdutil/validate.go start line: 16 end line: 25 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 53 unit: func NewLogger() file: internal/log/log.go start line: 12 end line: 21 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 54 unit: func() file: internal/output/tcp/tcp.go start line: 30 end line: 40 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: func setFlagFromEnv() file: internal/command/root.go start line: 166 end line: 175 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: func Available() file: internal/output/factory.go start line: 41 end line: 48 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 57 unit: func New() file: internal/output/azureblobstorage/azure_blob_storage.go start line: 26 end line: 36 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: func() file: internal/output/lumberjack/lumberjack.go start line: 86 end line: 93 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: func() file: internal/output/azureblobstorage/azure_blob_storage.go start line: 64 end line: 70 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 60 unit: func file() file: internal/httpserver/config.go start line: 97 end line: 103 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: func minify() file: internal/httpserver/config.go start line: 105 end line: 111 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: func() file: internal/output/kafka/kafka.go start line: 48 end line: 54 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: func() file: internal/output/lumberjack/lumberjack.go start line: 79 end line: 84 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: func New() file: internal/output/udp/udp.go start line: 29 end line: 34 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: func() file: internal/output/udp/udp.go start line: 56 end line: 61 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: func() file: internal/output/azureblobstorage/azure_blob_storage.go start line: 38 end line: 43 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: func() file: internal/output/gcs/gcs.go start line: 42 end line: 47 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: func() file: internal/output/gcs/gcs.go start line: 60 end line: 66 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: func() file: internal/httpserver/httpserver.go start line: 107 end line: 114 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: func() file: internal/output/gcppubsub/gcppubsub.go start line: 83 end line: 87 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: func() file: internal/output/azureeventhub/azure_event_hub.go start line: 58 end line: 62 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: func main() file: main.go start line: 13 end line: 17 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 73 unit: func() file: internal/output/kafka/kafka.go start line: 56 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: func() file: internal/output/webhook/webhook.go start line: 73 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: func hostname() file: internal/httpserver/config.go start line: 88 end line: 91 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: func init() file: internal/output/kafka/kafka.go start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: func init() file: internal/output/lumberjack/lumberjack.go start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: func init() file: internal/output/udp/udp.go start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: func() file: internal/output/udp/udp.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: func init() file: internal/output/tcp/tcp.go start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: func New() file: internal/output/tcp/tcp.go start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func() file: internal/output/tcp/tcp.go start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func() file: internal/output/tcp/tcp.go start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func init() file: internal/output/gcppubsub/gcppubsub.go start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: func Register() file: internal/output/factory.go start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 86 unit: func init() file: internal/output/azureblobstorage/azure_blob_storage.go start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: func() file: internal/output/azureblobstorage/azure_blob_storage.go start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: func init() file: internal/output/gcs/gcs.go start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: func init() file: internal/output/azureeventhub/azure_event_hub.go start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: func() file: internal/output/azureeventhub/azure_event_hub.go start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func init() file: internal/output/webhook/webhook.go start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: func init() file: internal/output/tls/tls.go start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: func New() file: internal/output/tls/tls.go start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func() file: internal/output/tls/tls.go start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func env() file: internal/httpserver/config.go start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func sum() file: internal/httpserver/config.go start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 2