Documentation
¶
Index ¶
- type GinHttp3Server
- type Option
- func WithDELETE(path string, hs ...gin.HandlerFunc) Option
- func WithGET(path string, hs ...gin.HandlerFunc) Option
- func WithHandlers(handles ...httpserver.Handler) Option
- func WithLoadHTMLFiles(files ...string) Option
- func WithMiddleware(handles ...gin.HandlerFunc) Option
- func WithName(name string) Option
- func WithPOST(path string, hs ...gin.HandlerFunc) Option
- func WithPUT(path string, hs ...gin.HandlerFunc) Option
- func WithPort(port string) Option
- func WithTLS(cert, key string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GinHttp3Server ¶
type GinHttp3Server struct {
// contains filtered or unexported fields
}
func NewHttp3 ¶
func NewHttp3(opts ...Option) *GinHttp3Server
func (*GinHttp3Server) Name ¶
func (h3 *GinHttp3Server) Name() string
type Option ¶
type Option func(opt *option)
func WithDELETE ¶
func WithDELETE(path string, hs ...gin.HandlerFunc) Option
func WithHandlers ¶
func WithHandlers(handles ...httpserver.Handler) Option
func WithLoadHTMLFiles ¶
func WithMiddleware ¶
func WithMiddleware(handles ...gin.HandlerFunc) Option
Click to show internal directories.
Click to hide internal directories.