Skip to content

Commit

Permalink
📄 add licence header
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillDanshin committed Apr 16, 2018
1 parent 5571638 commit 7444f7b
Show file tree
Hide file tree
Showing 48 changed files with 434 additions and 2 deletions.
9 changes: 9 additions & 0 deletions app.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

// SetName for the server
Expand Down
9 changes: 9 additions & 0 deletions app_handler.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions app_healthcheck.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions app_listenAndServe.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions app_listenAndServeAll.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

// ListenAndServeAll serves HTTP and HTTPS automatically.
Expand Down
9 changes: 9 additions & 0 deletions app_listenAndServeAutoTLS.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions app_serve.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions client/const.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package client

const httpsScheme = "https"
9 changes: 9 additions & 0 deletions client/get.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package client

import (
Expand Down
9 changes: 9 additions & 0 deletions client/getHostClient.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package client

import (
Expand Down
9 changes: 9 additions & 0 deletions client/handler.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package client

import (
Expand Down
9 changes: 9 additions & 0 deletions client/new.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package client

import (
Expand Down
9 changes: 9 additions & 0 deletions client/nextServer.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package client

import (
Expand Down
9 changes: 9 additions & 0 deletions client/rangeBalancer.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package client

import (
Expand Down
9 changes: 9 additions & 0 deletions client/types.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package client

import (
Expand Down
9 changes: 9 additions & 0 deletions client/vars.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package client

import (
Expand Down
9 changes: 9 additions & 0 deletions client/wsHandler.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package client

import (
Expand Down
9 changes: 9 additions & 0 deletions const.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

const (
Expand Down
9 changes: 9 additions & 0 deletions context.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions context_Auth.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
11 changes: 10 additions & 1 deletion context_logHeaders.go
@@ -1,6 +1,15 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

// LogHeaders for debug
// LogHeaders logs all request headers for debug
func (ctx *Context) LogHeaders() {
ctx.Request.Header.VisitAll(func(k, v []byte) {
ctx.Logger.Debugf("%s = [%s]\n", k, v)
Expand Down
9 changes: 9 additions & 0 deletions context_proxy.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions conv.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions cookie.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions errors.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions fasthttprouter_cache.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions fasthttprouter_cache_test.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions firewall.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down
9 changes: 9 additions & 0 deletions grypto/pass.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

// Package grypto provides helpers for dealing with cryptography
package grypto

Expand Down
9 changes: 9 additions & 0 deletions infrastructure.go
@@ -1,3 +1,12 @@
// Copyright 2017 Kirill Danshin and Gramework contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//

package gramework

import (
Expand Down

0 comments on commit 7444f7b

Please sign in to comment.