[#446] innerring: Rename server.Index to server.InnerRingIndex

With different indexes for inner ring list and alphabet list this
is the better naming.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-03-23 17:14:28 +03:00 committed by Alex Vanin
parent 80bfd08a47
commit cd21641dfc
5 changed files with 8 additions and 8 deletions

View file

@ -12,7 +12,7 @@ import (
type (
// Indexer is a callback interface for inner ring global state.
Indexer interface {
Index() int
InnerRingIndex() int
}
// Contracts is an interface of the storage