Documentation ¶
Index ¶
- func FiberServe(httpPort string, wasmFileModule []byte, crt, key string)
- func GetBodyAndHeaders(bytes []byte, c *fiber.Ctx) (body string, headers map[string]string)
- func GetBodyString(str string) string
- func GetContentType(headers map[string]string) string
- func GetHeadersMapFromString(headersStr string) map[string]string
- func GetReloadTokenFromHeadersRequest(c *fiber.Ctx) string
- func IsBodyString(str string) bool
- func IsHtmlContentType(headers map[string]string) bool
- func IsJsonArray(str string) bool
- func IsJsonContentType(headers map[string]string) bool
- func IsTxtContentType(headers map[string]string) bool
- func SendErrorMessage(str string, headers map[string]string, c *fiber.Ctx) error
- func SendJsonMessage(str string, headers map[string]string, c *fiber.Ctx) error
- type RemoteWasmModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FiberServe ¶
func GetBodyAndHeaders ¶
func GetBodyString ¶
func GetContentType ¶
func GetHeadersMapFromString ¶
func GetReloadTokenFromHeadersRequest ¶
func GetReloadTokenFromHeadersRequest(c *fiber.Ctx) string
func IsBodyString ¶
func IsHtmlContentType ¶
IsHtmlContentType : Content-Type: text/html; charset=UTF-8
func IsJsonArray ¶
func IsJsonContentType ¶
func IsTxtContentType ¶
IsTxtContentType : Content-Type: text/plain; charset=UTF-8
func SendErrorMessage ¶
Types ¶
type RemoteWasmModule ¶
Click to show internal directories.
Click to hide internal directories.