Skip to content

Commit

Permalink
Merge pull request luraproject#495 from luraproject/pkg_doc
Browse files Browse the repository at this point in the history
pkg doc fixed
  • Loading branch information
kpacha authored May 21, 2021
2 parents 19c3846 + 0d849db commit f14011c
Show file tree
Hide file tree
Showing 19 changed files with 39 additions and 9 deletions.
3 changes: 2 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Package config defines the config structs and some config parser interfaces and implementations
/* Package config defines the config structs and some config parser interfaces and implementations
*/
// SPDX-License-Identifier: Apache-2.0
package config

Expand Down
2 changes: 2 additions & 0 deletions core/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Package core contains come basic constants and variables
*/
// SPDX-License-Identifier: Apache-2.0
package core

Expand Down
3 changes: 2 additions & 1 deletion logging/log.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//Package logging provides a simple logger interface
/* Package logging provides a simple logger interface
*/
// SPDX-License-Identifier: Apache-2.0
package logging

Expand Down
2 changes: 2 additions & 0 deletions plugin/plugin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Package plugin provides tools for loading and registering plugins
*/
// SPDX-License-Identifier: Apache-2.0
package plugin

Expand Down
2 changes: 2 additions & 0 deletions proxy/plugin/modifier.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Package plugin provides tools for loading and registering proxy plugins
*/
// SPDX-License-Identifier: Apache-2.0
package plugin

Expand Down
3 changes: 2 additions & 1 deletion proxy/proxy.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//Package proxy provides proxy and proxy middleware interfaces and implementations.
/* Package proxy provides proxy and proxy middleware interfaces and implementations.
*/
// SPDX-License-Identifier: Apache-2.0
package proxy

Expand Down
2 changes: 2 additions & 0 deletions register/register.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Package register offers tools for creating and managing registers.
*/
// SPDX-License-Identifier: Apache-2.0
package register

Expand Down
2 changes: 2 additions & 0 deletions router/chi/router.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Package chi provides some basic implementations for building routers based on go-chi/chi
*/
// SPDX-License-Identifier: Apache-2.0
package chi

Expand Down
3 changes: 2 additions & 1 deletion router/gin/router.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Package gin provides some basic implementations for building routers based on gin-gonic/gin
/* Package gin provides some basic implementations for building routers based on gin-gonic/gin
*/
// SPDX-License-Identifier: Apache-2.0
package gin

Expand Down
2 changes: 2 additions & 0 deletions router/gorilla/router.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Package gorilla provides some basic implementations for building routers based on gorilla/mux
*/
// SPDX-License-Identifier: Apache-2.0
package gorilla

Expand Down
2 changes: 2 additions & 0 deletions router/httptreemux/router.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Package httptreemux provides some basic implementations for building routers based on dimfeld/httptreemux
*/
// SPDX-License-Identifier: Apache-2.0
package httptreemux

Expand Down
3 changes: 2 additions & 1 deletion router/mux/router.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Package mux provides some basic implementations for building routers based on net/http mux
/* Package mux provides some basic implementations for building routers based on net/http mux
*/
// SPDX-License-Identifier: Apache-2.0
package mux

Expand Down
2 changes: 2 additions & 0 deletions router/negroni/router.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Package negroni provides some basic implementations for building routers based on urfave/negroni
*/
// SPDX-License-Identifier: Apache-2.0
package negroni

Expand Down
3 changes: 2 additions & 1 deletion router/router.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Package router defines some interfaces for router adapters
/* Package router defines some interfaces for router adapters
*/
// SPDX-License-Identifier: Apache-2.0
package router

Expand Down
3 changes: 2 additions & 1 deletion sd/dnssrv/subscriber.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Package dnssrv defines some implementations for a dns based service discovery
/* Package dnssrv defines some implementations for a dns based service discovery
*/
// SPDX-License-Identifier: Apache-2.0
package dnssrv

Expand Down
3 changes: 2 additions & 1 deletion sd/subscriber.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Package sd defines some interfaces and implementations for service discovery
/* Package sd defines some interfaces and implementations for service discovery
*/
// SPDX-License-Identifier: Apache-2.0
package sd

Expand Down
3 changes: 2 additions & 1 deletion test/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package test contains the integration tests for the KrakenD framework
/* Package test contains the integration tests for the KrakenD framework
*/
// SPDX-License-Identifier: Apache-2.0
package test
2 changes: 2 additions & 0 deletions transport/http/client/executor.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Package client provides some http helpers to create http clients and executors
*/
// SPDX-License-Identifier: Apache-2.0
package client

Expand Down
3 changes: 3 additions & 0 deletions transport/http/server/server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Package server provides tools to create http servers and handlers wrapping the
lura router
*/
// SPDX-License-Identifier: Apache-2.0
package server

Expand Down

0 comments on commit f14011c

Please sign in to comment.