tools

package
v0.0.0-...-6811493 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int32ArrayTo64

func Int32ArrayTo64(in []int32) []int64

func WriteError

func WriteError(w http.ResponseWriter, err error)

func WriteJsonData

func WriteJsonData(w http.ResponseWriter, data interface{})

Types

type SortedServices

type SortedServices struct {
	Services []*registry.Service
}

func (SortedServices) Len

func (s SortedServices) Len() int

func (SortedServices) Less

func (s SortedServices) Less(i, j int) bool

func (SortedServices) Swap

func (s SortedServices) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL