Documentation ¶
Index ¶
- func ByteCountIEC(b int64) string
- func Connect(ctx context.Context, url string) (*grpc.ClientConn, error)
- func DateToAge(d *timestamppb.Timestamp) string
- func DateToStr(d *timestamppb.Timestamp) string
- func DurationToStr(age time.Duration) string
- func ReplHeader() string
- func ReplRow(in *pb.Replication) string
- func StorageHeader() string
- func StorageRow(in *pb.Storage) string
- func ToPercentage(in float64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteCountIEC ¶
func DateToAge ¶
func DateToAge(d *timestamppb.Timestamp) string
func DateToStr ¶
func DateToStr(d *timestamppb.Timestamp) string
func DurationToStr ¶
func ReplHeader ¶
func ReplHeader() string
func ReplRow ¶
func ReplRow(in *pb.Replication) string
func StorageHeader ¶
func StorageHeader() string
func StorageRow ¶
func ToPercentage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.