-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from k1LoW/create-registory-and-storage
Separate `repo.Repo` to `registory.Registory` and `storage.Storage`
- Loading branch information
Showing
16 changed files
with
268 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
package kvs | ||
|
||
// Consul struct | ||
// Consul struct. | ||
type Consul struct { | ||
items map[string]*item //nolint | ||
Host string | ||
Port int | ||
Password string | ||
} | ||
|
||
// Read data on Consul | ||
// Read data on Consul. | ||
func (c *Consul) Read(key string) { | ||
} | ||
|
||
// Write data to Consul | ||
// Write data to Consul. | ||
func (c *Consul) Write(data string) { | ||
} | ||
|
||
// Delete data on Consul | ||
// Delete data on Consul. | ||
func (c *Consul) Delete(key string) { | ||
} | ||
|
||
// List returns key from Consul | ||
// List returns key from Consul. | ||
func (c *Consul) List() { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.