util

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(s1, s2 string) string

func GetType

func GetType(obj interface{}) (res string)

GetType returns the name of the struct passed to it as a string

func HostOfURL

func HostOfURL(url string) string

func WriteErrorToReq

func WriteErrorToReq(ctx *fasthttp.RequestCtx, msg string)

func WriteJsonResponseToReq

func WriteJsonResponseToReq(ctx *fasthttp.RequestCtx, code int, resp []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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