Documentation ¶
Index ¶
- func Get[T any](urltarget string) (result T, errormessage string)
- func GetImageWithBearer(tokenbearer string, urltarget string) (respBody []byte, errormessage string)
- func GetStruct[T any](structname interface{}, urltarget string) (result T, errormessage string)
- func GetStructWithBearer[T any](tokenbearer string, structname interface{}, urltarget string) (result T, errormessage string)
- func GetStructWithToken[T any](tokenkey string, tokenvalue string, structname interface{}, urltarget string) (result T, errormessage string)
- func GetWithBearer[T any](tokenbearer string, urltarget string) (result T, errormessage string)
- func PostStruct[T any](structname interface{}, urltarget string) (result T, errormessage string)
- func PostStructWithBearer[T any](tokenbearer string, structname interface{}, urltarget string) (result T, errormessage string)
- func PostStructWithToken[T any](tokenkey string, tokenvalue string, structname interface{}, urltarget string) (result T, errormessage string)
- func PutStructWithBearer[T any](tokenbearer string, structname interface{}, urltarget string) (result T, errormessage string)
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImageWithBearer ¶ added in v0.0.12
func GetStructWithBearer ¶ added in v0.0.8
func GetStructWithToken ¶ added in v0.0.6
func GetWithBearer ¶ added in v0.0.11
func PostStruct ¶
func PostStructWithBearer ¶ added in v0.0.8
func PostStructWithToken ¶ added in v0.0.6
Types ¶
Click to show internal directories.
Click to hide internal directories.