apiserver

package
v0.0.0-...-f435d8c Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServer

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

func New

func New(config *Config) *APIServer

func (*APIServer) HandleGetFile

func (server *APIServer) HandleGetFile() http.HandlerFunc

func (*APIServer) HandleHello

func (s *APIServer) HandleHello() http.HandlerFunc

func (*APIServer) HandleOrgUrl

func (s *APIServer) HandleOrgUrl() http.HandlerFunc

func (*APIServer) HandleTest

func (server *APIServer) HandleTest() http.HandlerFunc

func (*APIServer) Start

func (s *APIServer) Start() error

type Config

type Config struct {
	BindAddr string
	LogLevel string
}

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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