httpserver

package
v0.0.0-...-dc6c969 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

type HTTPServer struct {
	PublicURL string
	Store     common.Store
	// contains filtered or unexported fields
}

func (*HTTPServer) APICreateSecret

func (s *HTTPServer) APICreateSecret(c *gin.Context)

func (*HTTPServer) APIGetSecret

func (s *HTTPServer) APIGetSecret(c *gin.Context)

func (*HTTPServer) CreateSecret

func (s *HTTPServer) CreateSecret(c *gin.Context)

func (*HTTPServer) DisplayAboutPage

func (s *HTTPServer) DisplayAboutPage(c *gin.Context)

func (*HTTPServer) DisplayHomePage

func (s *HTTPServer) DisplayHomePage(c *gin.Context)

func (*HTTPServer) DisplayOfflinePage

func (s *HTTPServer) DisplayOfflinePage(c *gin.Context)

func (*HTTPServer) GetSecret

func (s *HTTPServer) GetSecret(c *gin.Context)

func (*HTTPServer) GetSecretContent

func (s *HTTPServer) GetSecretContent(c *gin.Context)

func (*HTTPServer) Init

func (s *HTTPServer) Init() error

func (*HTTPServer) Run

func (s *HTTPServer) Run(addr string) error

func (*HTTPServer) Shutdown

func (s *HTTPServer) Shutdown() error

func (*HTTPServer) TestCreateSecret

func (s *HTTPServer) TestCreateSecret(c *gin.Context)

func (*HTTPServer) TestGetSecret

func (s *HTTPServer) TestGetSecret(c *gin.Context)

func (*HTTPServer) TestSecret

func (s *HTTPServer) TestSecret(c *gin.Context)

Jump to

Keyboard shortcuts

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