proxy

package
v0.0.0-...-9c7057b Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckParams

func CheckParams(s *service) interceptor.UnaryServerMiddleware

func NewAdmin

func NewAdmin(r *Resource) *admin

func NewService

func NewService(ctx *cli.Context, r *Resource) *service

Types

type DocHeap

type DocHeap []*xsearchpb.Document

func (DocHeap) Len

func (h DocHeap) Len() int

func (DocHeap) Less

func (h DocHeap) Less(i, j int) bool

func (*DocHeap) Pop

func (h *DocHeap) Pop() interface{}

func (*DocHeap) Push

func (h *DocHeap) Push(x interface{})

func (DocHeap) Swap

func (h DocHeap) Swap(i, j int)

type Resource

type Resource struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewResource

func NewResource() *Resource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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