Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServerStatic ¶
假设vue/react项目输出文件夹名字为dist,拷贝到该go文件所在目录下 注意"dist"前后不能有 / r.Use(ServerStatic("dist", dist))
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Ping ¶
func (s *Server) Ping() *ServerStatus
type ServerStatus ¶
Click to show internal directories.
Click to hide internal directories.