Versions in this module Expand all Collapse all v2 v2.2.2 Dec 20, 2022 v2.2.1 Dec 19, 2022 Changes in this version + const HeaderCacheControl + const HeaderContentLength + const HeaderContentType + const HeaderHost + const HeaderUpgrade + const HeaderUserAgent + const WailsUserAgentValue + func BuildAssetServerConfig(options *options.App) assetserver.Options + func GetMimetype(filename string, data []byte) string + func NewAssetHandler(ctx context.Context, options assetserver.Options) (http.Handler, error) + type AssetServer struct + func NewAssetServer(ctx context.Context, bindingsJSON string, options assetserver.Options) (*AssetServer, error) + func NewAssetServerMainPage(ctx context.Context, bindingsJSON string, options *options.App) (*AssetServer, error) + func NewAssetServerWithHandler(ctx context.Context, handler http.Handler, bindingsJSON string) (*AssetServer, error) + func (d *AssetServer) ProcessHTTPRequest(logInfo string, rw http.ResponseWriter, ...) + func (d *AssetServer) ServeHTTP(rw http.ResponseWriter, req *http.Request)