Skip to content

Commit

Permalink
Add SDPX licence identifier to source files. https://spdx.org/licenses/
Browse files Browse the repository at this point in the history
  • Loading branch information
aldas committed May 24, 2023
1 parent 1b8be03 commit 1b74ff7
Show file tree
Hide file tree
Showing 17 changed files with 53 additions and 2 deletions.
3 changes: 3 additions & 0 deletions casbin/casbin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

/* Package casbin provides middleware to enable ACL, RBAC, ABAC authorization support.
Simple example:
Expand Down
3 changes: 3 additions & 0 deletions casbin/casbin_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package casbin

import (
Expand Down
3 changes: 3 additions & 0 deletions echo.go
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package echo
3 changes: 3 additions & 0 deletions echoprometheus/prometheus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

/*
Package echoprometheus provides middleware to add Prometheus metrics.
*/
Expand Down
3 changes: 3 additions & 0 deletions echoprometheus/prometheus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package echoprometheus

import (
Expand Down
3 changes: 3 additions & 0 deletions jaegertracing/jaegertracing.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

/*
Package jaegertracing provides middleware to Opentracing using Jaeger.
Expand Down
3 changes: 3 additions & 0 deletions jaegertracing/jaegertracing_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package jaegertracing

import (
Expand Down
3 changes: 3 additions & 0 deletions jaegertracing/response_dumper.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package jaegertracing

import (
Expand Down
3 changes: 3 additions & 0 deletions pprof/pprof.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package pprof

import (
Expand Down
3 changes: 3 additions & 0 deletions pprof/pprof_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package pprof

import (
Expand Down
3 changes: 3 additions & 0 deletions prometheus/prometheus.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

/*
Package prometheus provides middleware to add Prometheus metrics.
Expand Down
3 changes: 3 additions & 0 deletions prometheus/prometheus_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package prometheus

import (
Expand Down
3 changes: 3 additions & 0 deletions session/session.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package session

import (
Expand Down
3 changes: 3 additions & 0 deletions session/session_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package session

import (
Expand Down
3 changes: 3 additions & 0 deletions zipkintracing/response_writer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package zipkintracing

import (
Expand Down
7 changes: 5 additions & 2 deletions zipkintracing/tracing.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package zipkintracing

import (
Expand Down Expand Up @@ -66,7 +69,7 @@ func TraceFunc(c echo.Context, spanName string, spanTags Tags, tracer *zipkin.Tr
return finishSpan
}

//TraceProxy middleware that traces reverse proxy
// TraceProxy middleware that traces reverse proxy
func TraceProxy(tracer *zipkin.Tracer) echo.MiddlewareFunc {
config := DefaultTraceProxyConfig
config.Tracer = tracer
Expand Down Expand Up @@ -111,7 +114,7 @@ func TraceProxyWithConfig(config TraceProxyConfig) echo.MiddlewareFunc {
}
}

//TraceServer middleware that traces server calls
// TraceServer middleware that traces server calls
func TraceServer(tracer *zipkin.Tracer) echo.MiddlewareFunc {
config := DefaultTraceServerConfig
config.Tracer = tracer
Expand Down
3 changes: 3 additions & 0 deletions zipkintracing/tracing_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: © 2017 LabStack and Echo contributors

package zipkintracing

import (
Expand Down

0 comments on commit 1b74ff7

Please sign in to comment.