http

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultRows Default row for paging
	DefaultRows = 10
	// AdminUserName Username for http admin api
	AdminUserName = "INDEXER_USER_NAME"
	// AdminPassword Password for http admin api
	AdminPassword = "INDEXER_PASSWORD"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server http server

func NewServer

func NewServer(idx indexer.Indexer) Server

NewServer Rest API

func (*Server) IpcUpdated added in v1.0.0

func (server *Server) IpcUpdated(ipcPath string)

IpcUpdated implements IpcSubscriber interface

func (*Server) Name added in v1.0.0

func (server *Server) Name() string

Name implements IpcSubscriber interface

func (*Server) Start

func (server *Server) Start()

Start start http server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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