Documentation ¶
Index ¶
Constants ¶
View Source
const (
UserAgent = "Valve/Steam HTTP Client 1.0 (570)"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrClientSuspended ¶
func (*ErrClientSuspended) Error ¶
func (err *ErrClientSuspended) Error() string
type ErrLostSession ¶
type ErrLostSession struct {
Status d2pb.GCConnectionStatus
}
func (*ErrLostSession) Error ¶
func (err *ErrLostSession) Error() string
type ErrNoSession ¶
type ErrWelcomeTimeout ¶
func (*ErrWelcomeTimeout) Error ¶
func (err *ErrWelcomeTimeout) Error() string
type Session ¶
type Session struct { State state.Dota2State LastTransition *StateTransition // contains filtered or unexported fields }
func (*Session) StateChange ¶
func (s *Session) StateChange(t *StateTransition)
type StateTransition ¶
type StateTransition struct { Previous state.Dota2State Next state.Dota2State ReadyToUnready bool UnreadyToReady bool }
func NewStateTransition ¶
func NewStateTransition(prev, next state.Dota2State) *StateTransition
Click to show internal directories.
Click to hide internal directories.