Skip to content

Commit

Permalink
clientv3 : Added licences to files
Browse files Browse the repository at this point in the history
  • Loading branch information
visheshnp committed Aug 3, 2017
1 parent ba84819 commit 7a9175e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
14 changes: 14 additions & 0 deletions clientv3/leasing/cache.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2017 The etcd Authors
//
// 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 leasing

import (
Expand Down
2 changes: 0 additions & 2 deletions clientv3/leasing/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@
//
// The first range request acquires the lease by adding the leasing key ("leasing-prefix"/key) on the server and stores the key locally.
// Further linearized read requests using 'cli.leasing' will be served locally as long as the lease exists:
//
// cli.Put(context.TODO(), "abc", "123")
//
// Lease Acquisition:
//
// leasingCli.Get(context.TODO(), "abc")
//
// Local reads:
Expand Down
14 changes: 14 additions & 0 deletions clientv3/leasing/txn.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2017 The etcd Authors
//
// 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 leasing

import (
Expand Down

0 comments on commit 7a9175e

Please sign in to comment.