controllers

package
v0.0.0-...-0262130 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: GPL-3.0 Imports: 13 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 NewApiServer

func NewApiServer(svc domain.IService, p string, wg *sync.WaitGroup, info string) *ApiServer

func (*ApiServer) Start

func (a *ApiServer) Start()

Swagger

@title						Time server API
@version					1.0
@description				A comprehensive API for my time server.
@termsOfService				http://mytimeserver.com/terms
@contact.name				API Support Team
@contact.url				http://mytimeserver.com/support
@contact.email				support@mytimeserver.com
@license.name				Apache 2.0
@license.url				http://www.apache.org/licenses/LICENSE-2.0.html
@host						mytimeserver.com
@BasePath					/
@schemes					http
@securityDefinitions.apiKey	JWT
@in							header
@name						Authorization
@description				JWT security accessToken. Please add it in the format "Bearer {AccessToken}" to authorize your requests.

Jump to

Keyboard shortcuts

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