2019-09-12 15:19:30 +01:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package console
|
|
|
|
|
2020-07-16 15:18:02 +01:00
|
|
|
// OrderDirection is used for members in specific order direction.
|
2019-09-12 15:19:30 +01:00
|
|
|
type OrderDirection uint8
|
|
|
|
|
|
|
|
const (
|
2020-07-16 16:27:24 +01:00
|
|
|
// Ascending indicates that we should order ascending.
|
2019-09-12 15:19:30 +01:00
|
|
|
Ascending OrderDirection = 1
|
2020-07-16 16:27:24 +01:00
|
|
|
// Descending indicates that we should order descending.
|
2019-09-12 15:19:30 +01:00
|
|
|
Descending OrderDirection = 2
|
|
|
|
)
|