web

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package web provides a set of templates for the specified web router.

Package web provides a set of templates for the specified web router.

Package web provides a set of templates for the specified web router.

Package web provides a set of templates for the specified web router.

Package web provides a set of templates for the specified web router.

Package web provides a set of templates for the specified web router.

Package web provides a set of templates for the specified web router.

Package web provides a set of templates for the specified web router.

Index

Constants

This section is empty.

Variables

View Source
var MakeChiRoutes []byte
View Source
var MakeEchoRoutes []byte
View Source
var MakeFiberMain []byte
View Source
var MakeFiberRoutes []byte
View Source
var MakeFiberServer []byte
View Source
var MakeGinRoutes []byte
View Source
var MakeGorillaRoutes []byte
View Source
var MakeHTTPRoutes []byte
View Source
var MakeHTTPServer []byte
View Source
var MakeRouterRoutes []byte

Functions

This section is empty.

Types

type ChiTemplate

type ChiTemplate struct{}

ChiTemplate is a struct that provides methods to generate templates for a Chi-based HTTP server.

func (ChiTemplate) Main

func (c ChiTemplate) Main() []byte

Main returns the main template for the Chi-based HTTP server.

func (ChiTemplate) Routes

func (c ChiTemplate) Routes() []byte

Routes returns the routes template for the Chi-based HTTP server.

func (ChiTemplate) Server

func (c ChiTemplate) Server() []byte

Server returns the server template for the Chi-based HTTP server.

type EchoTemplate

type EchoTemplate struct{}

EchoTemplate is a struct that provides methods to generate templates for an Echo-based HTTP server.

func (EchoTemplate) Main

func (e EchoTemplate) Main() []byte

Main returns the main template for the Echo-based HTTP server.

func (EchoTemplate) Routes

func (e EchoTemplate) Routes() []byte

Routes returns the routes template for the Echo-based HTTP server.

func (EchoTemplate) Server

func (e EchoTemplate) Server() []byte

Server returns the server template for the Echo-based HTTP server.

type FiberTemplate

type FiberTemplate struct{}

FiberTemplate is a struct that provides methods to generate templates for a Fiber-based HTTP server.

func (FiberTemplate) Main

func (c FiberTemplate) Main() []byte

Main returns the main template for the Fiber-based HTTP server.

func (FiberTemplate) Routes

func (c FiberTemplate) Routes() []byte

Routes returns the routes template for the Fiber-based HTTP server.

func (FiberTemplate) Server

func (c FiberTemplate) Server() []byte

Server returns the server template for the Fiber-based HTTP server.

type GinTemplate

type GinTemplate struct{}

GinTemplate is a struct that provides methods to generate templates for a Gin-based HTTP server.

func (GinTemplate) Main

func (c GinTemplate) Main() []byte

Main returns the main template for the Gin-based HTTP server.

func (GinTemplate) Routes

func (c GinTemplate) Routes() []byte

Routes returns the routes template for the Gin-based HTTP server.

func (GinTemplate) Server

func (c GinTemplate) Server() []byte

Server returns the server template for the Gin-based HTTP server.

type GorillaTemplate

type GorillaTemplate struct{}

GorillaTemplate is a struct that provides methods to generate templates for a Gorilla-based HTTP server.

func (GorillaTemplate) Main

func (c GorillaTemplate) Main() []byte

Main returns the main template for the Gorilla-based HTTP server.

func (GorillaTemplate) Routes

func (c GorillaTemplate) Routes() []byte

Routes returns the routes template for the Gorilla-based HTTP server.

func (GorillaTemplate) Server

func (c GorillaTemplate) Server() []byte

Server returns the server template for the Gorilla-based HTTP server.

type HttpRouterTemplate

type HttpRouterTemplate struct{}

HttpRouterTemplate is a struct that provides methods to generate templates for a HttpRouter-based HTTP server.

func (HttpRouterTemplate) Main

func (c HttpRouterTemplate) Main() []byte

Main returns the main template for the HttpRouter-based HTTP server.

func (HttpRouterTemplate) Routes

func (c HttpRouterTemplate) Routes() []byte

Routes returns the routes template for the HttpRouter-based HTTP server.

func (HttpRouterTemplate) Server

func (c HttpRouterTemplate) Server() []byte

Server returns the server template for the HttpRouter-based HTTP server.

type StandardLibraryTemplate

type StandardLibraryTemplate struct{}

StandardLibraryTemplate is a struct that provides methods to generate templates for a standard library-based HTTP server.

func (StandardLibraryTemplate) Main

func (c StandardLibraryTemplate) Main() []byte

Main returns the main template for the standard library-based HTTP server.

func (StandardLibraryTemplate) Routes

func (c StandardLibraryTemplate) Routes() []byte

Routes returns the routes template for the standard library-based HTTP server.

func (StandardLibraryTemplate) Server

func (c StandardLibraryTemplate) Server() []byte

Server returns the server template for the standard library-based HTTP server.

Jump to

Keyboard shortcuts

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