Documentation ¶
Index ¶
- type State
- func (s *State) ForEachChannels(ctx context.Context, userID int64, ...) error
- func (s *State) GetChannelPts(ctx context.Context, userID, channelID int64) (int, bool, error)
- func (s *State) GetState(ctx context.Context, userID int64) (state updates.State, found bool, err error)
- func (s *State) SetChannelPts(ctx context.Context, userID, channelID int64, pts int) error
- func (s *State) SetDate(ctx context.Context, userID int64, date int) error
- func (s *State) SetDateSeq(ctx context.Context, userID int64, date, seq int) error
- func (s *State) SetPts(ctx context.Context, userID int64, pts int) error
- func (s *State) SetQts(ctx context.Context, userID int64, qts int) error
- func (s *State) SetSeq(ctx context.Context, userID int64, seq int) error
- func (s *State) SetState(ctx context.Context, userID int64, state updates.State) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) ForEachChannels ¶
func (*State) GetChannelPts ¶
func (*State) SetChannelPts ¶
func (*State) SetDateSeq ¶
Click to show internal directories.
Click to hide internal directories.