Documentation ¶
Index ¶
- Constants
- func Campaign(ctx context.Context)
- func Check(ctx context.Context)
- func FinalCheck(ctx context.Context) int64
- func InitSessionPool()
- func Initialize(ctx context.Context, paymentServiceURL, shipmentServiceURL string) (int, string)
- func Load(ctx context.Context)
- func SetPayment(sp *server.ServerPayment)
- func SetShipment(ss *server.ServerShipment)
- func Validation(ctx context.Context, campaign int)
- func Verify(ctx context.Context)
- type IDsStore
- type Queue
Constants ¶
View Source
const ( CorrectCardNumber = "AAAAAAAA" FailedCardNumber = "FA10AAAA" )
View Source
const ( // シナリオ(1,2,3,4) = 並列数(1,2,2,1) // これを負荷の1単位とする // 1だとLoad内のfor loopが必要ないが、調整のため残す NumLoadScenario1 = 1 NumLoadScenario2 = 2 NumLoadScenario3 = 2 NumLoadScenario4 = 1 )
View Source
const ( MinCampaignRateSetting = 0 MaxCampaignRateSetting = 4 )
View Source
const (
ExecutionSeconds = 60
)
Variables ¶
This section is empty.
Functions ¶
func FinalCheck ¶
func InitSessionPool ¶
func InitSessionPool()
func Initialize ¶
func SetPayment ¶
func SetPayment(sp *server.ServerPayment)
func SetShipment ¶
func SetShipment(ss *server.ServerShipment)
func Validation ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.