Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Commit

Permalink
Add missing license headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshavardhana committed Mar 28, 2016
1 parent 6975054 commit 97678ed
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
"github.com/minio/cli"
)

// ACME CA url. -- TODO make this configurable.
const acmeServer = "https://acme-staging.api.letsencrypt.org/directory"

func checkFolder(path string) error {
Expand All @@ -33,6 +34,7 @@ func checkFolder(path string) error {
return nil
}

// main for gen command.
func genMain(c *cli.Context) {
if !c.Args().Present() || c.Args().First() == "help" {
cli.ShowCommandHelpAndExit(c, "gen", 1) // last argument is exit code
Expand Down
17 changes: 17 additions & 0 deletions renew.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Concert (C) 2016 Minio, Inc.
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package main

import (
Expand All @@ -6,6 +22,7 @@ import (
"github.com/minio/cli"
)

// main for renew command.
func renewMain(c *cli.Context) {
if !c.Args().Present() || c.Args().First() == "help" {
cli.ShowCommandHelpAndExit(c, "renew", 1) // last argument is exit code
Expand Down
17 changes: 17 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Concert (C) 2016 Minio, Inc.
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package main

import (
Expand All @@ -7,6 +23,7 @@ import (
"github.com/minio/cli"
)

// main for server command.
func serverMain(c *cli.Context) {
if !c.Args().Present() || c.Args().First() == "help" {
cli.ShowCommandHelpAndExit(c, "renew", 1) // last argument is
Expand Down

0 comments on commit 97678ed

Please sign in to comment.