std

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package std provides an HTTP server driver based on the Go standard library net/http package.

This is the simplest driver available, using http.ServeMux for routing. For production use, consider the gin or fiber drivers which offer better performance and features.

Usage:

import (
    httpServer "github.com/tx7do/go-wind-plugins/transport/http"
    "github.com/tx7do/go-wind-plugins/transport/http/driver/std"
)

srv := httpServer.NewServer(":8080", httpServer.WithDriver(std.NewDriver()))

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDriver

func NewDriver() httpPlugin.Driver

NewDriver 创建一个基于 net/http 标准库的驱动实例。

Types

This section is empty.

Jump to

Keyboard shortcuts

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