Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Cache cache.Cache
}

Server is the conrete type with methods implementing the generated Swagger server functions.

func NewServer

func NewServer() *Server

NewServer initializes a server with a cache.

func NewServerWithCache

func NewServerWithCache(cache cache.Cache) *Server

NewServerWithCache initializes a server with a cache.

func (*Server) GetHealthz

GetHealthz returns the health of the application.

func (*Server) GetSequence

GetSequence retreives a Fibonacci sequence for a value n.

Jump to

Keyboard shortcuts

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