apicall

package
v1.1.22 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InternalShaingAPI     typeEnum = 0  // 내부 api 콜
	InternalOrgSharingAPI typeEnum = 1  // 내부 api 콜
	InternalTaggingAPI    typeEnum = 2  // 내부 api 콜
	InternalMemberAPI     typeEnum = 3  // 내부 api 콜
	InternalAccountAPI    typeEnum = 4  // 내부 api 콜
	KakaoLogin            typeEnum = 5  // kakao 로그인
	KakaoBusinessTalk     typeEnum = 6  // kakao 알람톡
	KakaoFriendTalk       typeEnum = 7  // kakao 친구톡
	ExternalCourierCU     typeEnum = 8  // 택배 CU API
	ExternalCourierGS     typeEnum = 9  // 택배 GS API
	NiceAuth              typeEnum = 10 // 택배 GS API
	BasecampHomepageApi   typeEnum = 11 // 베이스캠프 홈페이지용 수거 api
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APICall

type APICall struct {
	ID         int64  `xorm:"id pk autoincr" json:"-"`
	Env        string `xorm:"env"  json:"env"`
	ModuleName string `xorm:"module_name"  json:"moduleName"`
	Timestamp  string `json:"timestamp" xorm:"timestamp"`
	LogType    string `xorm:"log_type"  json:"logType"`
	FullURL    string `xorm:"full_url"  json:"fullURL"`
	Request    string `xorm:"json 'request'"  json:"request"`
	Response   string `xorm:"json 'response'"  json:"response"`
	ErrorMsg   string `xorm:"error_msg"  json:"errorMsg"`
	DonationID int64  `xorm:"donation_id"  json:"donationID"`
	CourierID  int64  `xorm:"courier_id"  json:"courierID"`
	OrgID      int64  `xorm:"org_id"  json:"orgID"`
	MemberID   int64  `xorm:"member_id"  json:"memberID"`
}

func DecodeMessage added in v1.0.60

func DecodeMessage(message interface{}) *APICall

func (*APICall) CheckAndMakeTable

func (a *APICall) CheckAndMakeTable(engine *xorm.Engine)

func (*APICall) CheckTable

func (a *APICall) CheckTable(engine *xorm.Engine) bool

func (*APICall) InsertTable

func (a *APICall) InsertTable(engine *xorm.Engine) error

func (*APICall) OutToSNS added in v1.0.60

func (a *APICall) OutToSNS(cfg aws.Config, topic string) error

func (*APICall) TableName

func (*APICall) TableName() string

Jump to

Keyboard shortcuts

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