implementation

package
v0.0.0-...-1fb28bd Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthImpl

type AuthImpl struct{}

func (*AuthImpl) KeyAuth

func (i *AuthImpl) KeyAuth(token string) (interface{}, error)

type ConfigureImpl

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

func (*ConfigureImpl) ConfigureFlags

func (i *ConfigureImpl) ConfigureFlags(api *operations.AToDoListApplicationAPI)

func (*ConfigureImpl) ConfigureServer

func (i *ConfigureImpl) ConfigureServer(s *http.Server, scheme, addr string)

func (*ConfigureImpl) ConfigureTLS

func (i *ConfigureImpl) ConfigureTLS(tlsConfig *tls.Config)

func (*ConfigureImpl) CustomConfigure

func (i *ConfigureImpl) CustomConfigure(api *operations.AToDoListApplicationAPI)

func (*ConfigureImpl) SetupGlobalMiddleware

func (i *ConfigureImpl) SetupGlobalMiddleware(handler http.Handler) http.Handler

func (*ConfigureImpl) SetupMiddlewares

func (i *ConfigureImpl) SetupMiddlewares(handler http.Handler) http.Handler

type Flags

type Flags struct {
	Example1 string `long:"example1" description:"Sample for showing how to configure cmd-line flags"`
	Example2 string `long:"example2" description:"Further info at https://github.com/jessevdk/go-flags"`
}

type HandlerImpl

type HandlerImpl struct {
	TodosHandlerImpl
	ConfigureImpl
	AuthImpl
}

HandlerImpl implements all required configuration and api handling functionalities for todo list server backend

func New

func New() *HandlerImpl

type TodosHandlerImpl

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

func (*TodosHandlerImpl) AddOne

func (i *TodosHandlerImpl) AddOne(params todos.AddOneParams, principal interface{}) middleware.Responder

func (*TodosHandlerImpl) DestroyOne

func (i *TodosHandlerImpl) DestroyOne(params todos.DestroyOneParams, principal interface{}) middleware.Responder

func (*TodosHandlerImpl) FindTodos

func (i *TodosHandlerImpl) FindTodos(params todos.FindTodosParams, principal interface{}) middleware.Responder

func (*TodosHandlerImpl) UpdateOne

func (i *TodosHandlerImpl) UpdateOne(params todos.UpdateOneParams, principal interface{}) middleware.Responder

Jump to

Keyboard shortcuts

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