fix logger,cache
This commit is contained in:
@@ -29,7 +29,7 @@ var (
|
||||
Type_Create string = "create"
|
||||
)
|
||||
|
||||
func NewLogs(endpoint string, data []*LogItem) {
|
||||
func PushLog(endpoint string, data []*LogItem) {
|
||||
jsonBytes, _ := json.Marshal(data)
|
||||
|
||||
go utils.HttpPost(endpoint, nil, jsonBytes)
|
||||
|
||||
Reference in New Issue
Block a user