Documentation ¶
Index ¶
- func ConvertToBytes(inputStr string) (uint64, error)
- func Exists(path string) bool
- func FormatURL(url string, entries ...string) string
- func GetEnv(envName string, defaultValue string) string
- func GetPath(paths []string) string
- func HttpExecuteUserAuth(httpClient *http.Client, requestType string, requestURL string, user string, ...) (*http.Response, error)
- func MarshalAndRecord(object interface{}, dir string, fileName string) error
- func MkDir(path string) error
- func ReadAndUnmarshal(object interface{}, dir string, fileName string) error
- func ReadFile(path string) (content []byte, err error)
- func StringInSlice(a string, list []string) bool
- func Unmarshal(r *http.Request, object interface{}) error
- func UnmarshalDataFromRequest(r *http.Request, object interface{}) error
- func UnmarshalResponse(r *http.Response, object interface{}) error
- func WriteFile(path string, content []byte) error
- func WriteResponse(w http.ResponseWriter, code int, object interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToBytes ¶
func HttpExecuteUserAuth ¶
func MarshalAndRecord ¶
func ReadAndUnmarshal ¶
func StringInSlice ¶
func UnmarshalResponse ¶
func WriteResponse ¶
func WriteResponse(w http.ResponseWriter, code int, object interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.