Commit cee747bf authored by Eteri's avatar Eteri

fluentbit: format code

parent ca3c5752
...@@ -2,14 +2,13 @@ package main ...@@ -2,14 +2,13 @@ package main
import "github.com/fluent/fluent-bit-go/output" import "github.com/fluent/fluent-bit-go/output"
import ( import (
"fmt"
"unsafe"
"C" "C"
"net/http"
"strconv"
"bytes" "bytes"
"fmt"
"net/http"
"regexp" "regexp"
"strconv"
"unsafe"
) )
// configuration parameters // configuration parameters
...@@ -28,7 +27,7 @@ func FLBPluginRegister(ctx unsafe.Pointer) int { ...@@ -28,7 +27,7 @@ func FLBPluginRegister(ctx unsafe.Pointer) int {
// ctx (context) pointer to fluentbit context (state/ c code) // ctx (context) pointer to fluentbit context (state/ c code)
func FLBPluginInit(ctx unsafe.Pointer) int { func FLBPluginInit(ctx unsafe.Pointer) int {
// Example to retrieve an optional configuration parameter // Example to retrieve an optional configuration parameter
// param := output.FLBPluginConfigKey(ctx, "param") // param := output.FLBPluginConfigKey(ctx, "param")
user = output.FLBPluginConfigKey(ctx, "User") user = output.FLBPluginConfigKey(ctx, "User")
password = output.FLBPluginConfigKey(ctx, "Password") password = output.FLBPluginConfigKey(ctx, "Password")
uri = output.FLBPluginConfigKey(ctx, "Uri") uri = output.FLBPluginConfigKey(ctx, "Uri")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment