Documentation ¶
Index ¶
- type RaceAction
- func (r *RaceAction) AuthResult(c *racehub.Client, ok bool, message string) (*racehub.AuthResultOutput, error)
- func (r *RaceAction) ConnectResult(c *racehub.Client, ok bool, hubID string) (*racehub.ConnectResultOutput, error)
- func (r *RaceAction) ManageNextMark(c *racehub.Client, nextMarkNo int) (*racehub.ManageNextMarkOutput, error)
- func (r *RaceAction) ManageRaceStatus(c *racehub.Client, started bool, startedAt time.Time, finishedAt time.Time) (*racehub.ManageRaceStatusOutput, error)
- func (r *RaceAction) MarkGeolocations(c *racehub.Client) (*racehub.MarkGeolocationsOutput, error)
- func (r *RaceAction) ParticipantsInfo(c *racehub.Client) (*racehub.ParticipantsInfoOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RaceAction ¶
type RaceAction struct {
racehub.UnimplementedAction
}
func (*RaceAction) AuthResult ¶
func (r *RaceAction) AuthResult( c *racehub.Client, ok bool, message string, ) (*racehub.AuthResultOutput, error)
認証結果メッセージを送信するときの処理
func (*RaceAction) ConnectResult ¶
func (r *RaceAction) ConnectResult( c *racehub.Client, ok bool, hubID string, ) (*racehub.ConnectResultOutput, error)
接続結果メッセージを送信するときの処理
func (*RaceAction) ManageNextMark ¶
func (r *RaceAction) ManageNextMark( c *racehub.Client, nextMarkNo int, ) (*racehub.ManageNextMarkOutput, error)
次のマークを管理するときの処理
func (*RaceAction) ManageRaceStatus ¶
func (r *RaceAction) ManageRaceStatus( c *racehub.Client, started bool, startedAt time.Time, finishedAt time.Time, ) (*racehub.ManageRaceStatusOutput, error)
レースの状態を管理するときの処理
func (*RaceAction) MarkGeolocations ¶
func (r *RaceAction) MarkGeolocations( c *racehub.Client, ) (*racehub.MarkGeolocationsOutput, error)
選手にマークの位置情報を送信するときの処理
func (*RaceAction) ParticipantsInfo ¶
func (r *RaceAction) ParticipantsInfo( c *racehub.Client, ) (*racehub.ParticipantsInfoOutput, error)
マネージャーにマークの位置情報と選手のレース情報を送信するときの処理
Click to show internal directories.
Click to hide internal directories.