Documentation
¶
Index ¶
- func GetDocumentId(filterName string, filterVal interface{}, Collection string) string
- type ServiceModel
- func (s ServiceModel) SendApi(data []byte, url string, requestType string, header string) string
- func (s ServiceModel) SendApiBasicAuthen(data []byte, url string, requestType string, headers map[string]interface{}) (string, string)
- func (s ServiceModel) SendApiBearerHeader(data []byte, url string, requestType string, headers map[string]interface{}) (string, string)
- func (s ServiceModel) SendApiHeaders(data []byte, url string, requestType string, headers map[string]interface{}) (string, string)
- func (s ServiceModel) SendApiKey(data []byte, url string, requestType string, headers map[string]interface{}) (string, string)
- func (s ServiceModel) SendApiNotify(data []byte, url string, requestType string, ChannelToken string) (string, string)
- func (s ServiceModel) SendApiWithStatus(data []byte, url string, requestType string, header string) (string, string)
- func (s ServiceModel) SendPostFileRequest(url string, filename string, filetype string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDocumentId ¶
Types ¶
type ServiceModel ¶
type ServiceModel struct{}
func (ServiceModel) SendApiBasicAuthen ¶
func (ServiceModel) SendApiBearerHeader ¶ added in v1.4.0
func (s ServiceModel) SendApiBearerHeader(data []byte, url string, requestType string, headers map[string]interface{}) (string, string)
ส่งข้อมูล
func (ServiceModel) SendApiHeaders ¶
func (ServiceModel) SendApiKey ¶
func (ServiceModel) SendApiNotify ¶
func (ServiceModel) SendApiWithStatus ¶ added in v1.4.0
func (s ServiceModel) SendApiWithStatus(data []byte, url string, requestType string, header string) (string, string)
เพิ่ม Status
func (ServiceModel) SendPostFileRequest ¶
func (s ServiceModel) SendPostFileRequest(url string, filename string, filetype string) []byte
/ send image to upload
Click to show internal directories.
Click to hide internal directories.