Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlackJackCuiController ¶
type BlackJackCuiController struct {
// contains filtered or unexported fields
}
BlackJackCuiController ブラックジャックCUIコントローラークラス
func NewBlackJackCuiController ¶
func NewBlackJackCuiController(bji usecases.BlackJackInteractorIF) *BlackJackCuiController
NewBlackJackCuiController コンストラクタ
func (*BlackJackCuiController) Exec ¶
func (bcc *BlackJackCuiController) Exec(command string) string
Exec ゲーム実行
type BlackJackWebController ¶
type BlackJackWebController struct {
// contains filtered or unexported fields
}
BlackJackWebController ブラックジャックWebコントローラークラス
func NewBlackJackWebController ¶
func NewBlackJackWebController(bji usecases.BlackJackInteractorIF) *BlackJackWebController
NewBlackJackWebController コンストラクタ
func (*BlackJackWebController) Exec ¶
func (bwc *BlackJackWebController) Exec(w rest.ResponseWriter, r *rest.Request)
Exec ゲーム実行
type BlackJackWebInput ¶
type BlackJackWebInput struct {
Command string `json:"command"`
}
BlackJackWebInput ブラックジャックWebインプット
type BlackJackWebOutput ¶
type BlackJackWebOutput struct { Dealer *BlackJackWebOutputPlayer `json:"dealer"` Player *BlackJackWebOutputPlayer `json:"player"` Message string `json:"message"` }
BlackJackWebOutput ブラックジャックWebアウトプット
type BlackJackWebOutputCard ¶
BlackJackWebOutputCard ブラックジャックWebアウトプットカード
type BlackJackWebOutputPlayer ¶
type BlackJackWebOutputPlayer struct { Score int `json:"score"` Cards []*BlackJackWebOutputCard `json:"cards"` }
BlackJackWebOutputPlayer ブラックジャックWebアウトプットプレイヤー
Click to show internal directories.
Click to hide internal directories.