mirror of
https://github.com/wneessen/logranger.git
synced 2024-11-22 04:40:49 +01:00
Merge pull request 'Update project references to use GitHub repository' (#2) from forgejo_to_gh into main
Reviewed-on: #2
This commit is contained in:
commit
9ca1b16c03
8 changed files with 14 additions and 19 deletions
|
@ -17,7 +17,7 @@ RUN go mod download
|
|||
RUN go mod verify
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags \
|
||||
'-w -s -extldflags "-static"' \
|
||||
-o /builddir/logranger src.neessen.cloud/wneessen/logranger/cmd/server
|
||||
-o /builddir/logranger github.com/wneessen/logranger/cmd/server
|
||||
|
||||
## Create scratch image
|
||||
FROM scratch
|
||||
|
|
15
README.md
15
README.md
|
@ -6,10 +6,10 @@ SPDX-License-Identifier: MIT
|
|||
|
||||
# Logranger
|
||||
|
||||
[![GoDoc](https://godoc.org/src.neessen.cloud/wneessen/logranger?status.svg)](https://pkg.go.dev/src.neessen.cloud/wneessen/logranger)
|
||||
[![Go Report Card](https://goreportcard.com/badge/src.neessen.cloud/wneessen/logranger)](https://goreportcard.com/report/src.neessen.cloud/wneessen/logranger)
|
||||
[![GoDoc](https://godoc.org/github.com/wneessen/logranger?status.svg)](https://pkg.go.dev/github.com/wneessen/logranger)
|
||||
[![Go Report Card](https://goreportcard.com/badge/github.com/wneessen/logranger)](https://goreportcard.com/report/github.com/wneessen/logranger)
|
||||
[![#logranger on Discord](https://img.shields.io/badge/Discord-%23logranger-blue.svg)](https://discord.gg/ysQXkaccXk)
|
||||
[![REUSE status](https://api.reuse.software/badge/src.neessen.cloud/wneessen/logranger)](https://api.reuse.software/info/src.neessen.cloud/wneessen/logranger)
|
||||
[![REUSE status](https://api.reuse.software/badge/github.com/wneessen/logranger)](https://api.reuse.software/info/github.com/wneessen/logranger)
|
||||
<a href="https://ko-fi.com/D1D24V9IX"><img src="https://uploads-ssl.webflow.com/5c14e387dab576fe667689cf/5cbed8a4ae2b88347c06c923_BuyMeACoffee_blue.png" height="20" alt="buy ma a coffee"></a>
|
||||
|
||||
*Note:* Logranger is still WIP
|
||||
|
@ -45,10 +45,5 @@ Logranger is released under the [MIT License](LICENSE).
|
|||
|
||||
## Support
|
||||
|
||||
If you encounter any problems while using Logranger, please [create an issue](https://src.neessen.cloud/wneessen/logranger/issues) in this
|
||||
repository. We appreciate any feedback or suggestions for improving Logranger.
|
||||
|
||||
## Mirror
|
||||
|
||||
Please note that the repository on Github is just a mirror of
|
||||
[https://src.neessen.cloud/wneessen/logranger](https://src.neessen.cloud/wneessen/logranger) for ease of access and reachability.
|
||||
If you encounter any problems while using Logranger, please [create an issue](https://github.com/wneessen/logranger/issues) in this
|
||||
repository. We appreciate any feedback or suggestions for improving Logranger.
|
|
@ -11,7 +11,7 @@ import (
|
|||
"path/filepath"
|
||||
"syscall"
|
||||
|
||||
"src.neessen.cloud/wneessen/logranger"
|
||||
"github.com/wneessen/logranger"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
2
go.mod
2
go.mod
|
@ -2,7 +2,7 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
module src.neessen.cloud/wneessen/logranger
|
||||
module github.com/wneessen/logranger
|
||||
|
||||
go 1.21
|
||||
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
package all
|
||||
|
||||
import _ "src.neessen.cloud/wneessen/logranger/plugins/actions/file" // register plugin
|
||||
import _ "github.com/wneessen/logranger/plugins/actions/file" // register plugin
|
||||
|
|
|
@ -10,8 +10,8 @@ import (
|
|||
|
||||
"github.com/wneessen/go-parsesyslog"
|
||||
|
||||
"src.neessen.cloud/wneessen/logranger/plugins/actions"
|
||||
"src.neessen.cloud/wneessen/logranger/template"
|
||||
"github.com/wneessen/logranger/plugins/actions"
|
||||
"github.com/wneessen/logranger/template"
|
||||
)
|
||||
|
||||
// File represents a file action that can be performed on a log message.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
package actions
|
||||
|
||||
import (
|
||||
"src.neessen.cloud/wneessen/logranger/plugins"
|
||||
"github.com/wneessen/logranger/plugins"
|
||||
)
|
||||
|
||||
// Actions is a variable that represents a map of string keys to Action values. The keys are used to identify different actions, and the corresponding values are the functions that define
|
||||
|
|
|
@ -19,8 +19,8 @@ import (
|
|||
_ "github.com/wneessen/go-parsesyslog/rfc3164"
|
||||
_ "github.com/wneessen/go-parsesyslog/rfc5424"
|
||||
|
||||
"src.neessen.cloud/wneessen/logranger/plugins/actions"
|
||||
_ "src.neessen.cloud/wneessen/logranger/plugins/actions/all"
|
||||
"github.com/wneessen/logranger/plugins/actions"
|
||||
_ "github.com/wneessen/logranger/plugins/actions/all"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in a new issue