Documentation ¶
Overview ¶
Package sort provides convenience wrappers for sorting various vtadmin types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClustersBy ¶
ClustersBy provides an interface to sort Clusters by arbitrary comparison.
func (ClustersBy) Sort ¶
func (by ClustersBy) Sort(clusters []*cluster.Cluster)
Sort sorts a slice of Clusters by the given comparison function.
Click to show internal directories.
Click to hide internal directories.