application

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

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRouter

func GetRouter(pubKey ed25519.PublicKey, handleTermSearch func(term string, token string)) *gin.Engine

Types

type Application

type Application struct {
	ApplicationPublicKey string
	ApplicationID        string
	HttpClient           httpClient
	Searcher             searcher.Searcher
}

func New

func New(applicationPublicKey, applicationID string, svc searcher.Searcher) Application

func (*Application) Run

func (a *Application) Run() error

Jump to

Keyboard shortcuts

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