model_name_service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDocumentId

func GetDocumentId(filterName string, filterVal interface{}, Collection string) string

Types

type ServiceModel

type ServiceModel struct{}

func (ServiceModel) SendApi

func (s ServiceModel) SendApi(data []byte, url string, requestType string, header string) string

requestType(POST,GET,PUT,Delete)

func (ServiceModel) SendApiBasicAuthen

func (s ServiceModel) SendApiBasicAuthen(data []byte, url string, requestType string, headers map[string]interface{}) (string, string)

func (ServiceModel) SendApiHeaders

func (s ServiceModel) SendApiHeaders(data []byte, url string, requestType string, headers map[string]interface{}) (string, string)

func (ServiceModel) SendApiKey

func (s ServiceModel) SendApiKey(data []byte, url string, requestType string, headers map[string]interface{}) (string, string)

func (ServiceModel) SendApiNotify

func (s ServiceModel) SendApiNotify(data []byte, url string, requestType string, ChannelToken string) (string, string)

func (ServiceModel) SendPostFileRequest

func (s ServiceModel) SendPostFileRequest(url string, filename string, filetype string) []byte

/ send image to upload

Jump to

Keyboard shortcuts

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