Versions in this module Expand all Collapse all v0 v0.0.2 Dec 29, 2024 v0.0.1 Dec 28, 2024 Changes in this version + const ReplayPathPrefix + var File_cloud_replay_proto protoreflect.FileDescriptor + func WriteError(resp http.ResponseWriter, err error) + type CloseReplayRequest struct + PlaybackId string + func (*CloseReplayRequest) Descriptor() ([]byte, []int) + func (*CloseReplayRequest) ProtoMessage() + func (x *CloseReplayRequest) GetPlaybackId() string + func (x *CloseReplayRequest) ProtoReflect() protoreflect.Message + func (x *CloseReplayRequest) Reset() + func (x *CloseReplayRequest) String() string + type DeleteReplayRequest struct + ReplayId string + func (*DeleteReplayRequest) Descriptor() ([]byte, []int) + func (*DeleteReplayRequest) ProtoMessage() + func (x *DeleteReplayRequest) GetReplayId() string + func (x *DeleteReplayRequest) ProtoReflect() protoreflect.Message + func (x *DeleteReplayRequest) Reset() + func (x *DeleteReplayRequest) String() string + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type ListReplaysRequest struct + func (*ListReplaysRequest) Descriptor() ([]byte, []int) + func (*ListReplaysRequest) ProtoMessage() + func (x *ListReplaysRequest) ProtoReflect() protoreflect.Message + func (x *ListReplaysRequest) Reset() + func (x *ListReplaysRequest) String() string + type ListReplaysResponse struct + Replays []*ReplayInfo + func (*ListReplaysResponse) Descriptor() ([]byte, []int) + func (*ListReplaysResponse) ProtoMessage() + func (x *ListReplaysResponse) GetReplays() []*ReplayInfo + func (x *ListReplaysResponse) ProtoReflect() protoreflect.Message + func (x *ListReplaysResponse) Reset() + func (x *ListReplaysResponse) String() string + type LoadReplayRequest struct + ReplayId string + RoomName string + StartingPts int64 + func (*LoadReplayRequest) Descriptor() ([]byte, []int) + func (*LoadReplayRequest) ProtoMessage() + func (x *LoadReplayRequest) GetReplayId() string + func (x *LoadReplayRequest) GetRoomName() string + func (x *LoadReplayRequest) GetStartingPts() int64 + func (x *LoadReplayRequest) ProtoReflect() protoreflect.Message + func (x *LoadReplayRequest) Reset() + func (x *LoadReplayRequest) String() string + type LoadReplayResponse struct + PlaybackId string + func (*LoadReplayResponse) Descriptor() ([]byte, []int) + func (*LoadReplayResponse) ProtoMessage() + func (x *LoadReplayResponse) GetPlaybackId() string + func (x *LoadReplayResponse) ProtoReflect() protoreflect.Message + func (x *LoadReplayResponse) Reset() + func (x *LoadReplayResponse) String() string + type Replay interface + CloseReplay func(context.Context, *CloseReplayRequest) (*google_protobuf.Empty, error) + DeleteReplay func(context.Context, *DeleteReplayRequest) (*google_protobuf.Empty, error) + ListReplays func(context.Context, *ListReplaysRequest) (*ListReplaysResponse, error) + LoadReplay func(context.Context, *LoadReplayRequest) (*LoadReplayResponse, error) + SeekForRoom func(context.Context, *RoomSeekRequest) (*google_protobuf.Empty, error) + func NewReplayJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Replay + func NewReplayProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Replay + type ReplayInfo struct + ReplayId string + func (*ReplayInfo) Descriptor() ([]byte, []int) + func (*ReplayInfo) ProtoMessage() + func (x *ReplayInfo) GetReplayId() string + func (x *ReplayInfo) ProtoReflect() protoreflect.Message + func (x *ReplayInfo) Reset() + func (x *ReplayInfo) String() string + type RoomSeekRequest struct + PlaybackId string + Pts int64 + func (*RoomSeekRequest) Descriptor() ([]byte, []int) + func (*RoomSeekRequest) ProtoMessage() + func (x *RoomSeekRequest) GetPlaybackId() string + func (x *RoomSeekRequest) GetPts() int64 + func (x *RoomSeekRequest) ProtoReflect() protoreflect.Message + func (x *RoomSeekRequest) Reset() + func (x *RoomSeekRequest) String() string + type TwirpServer interface + PathPrefix func() string + ProtocGenTwirpVersion func() string + ServiceDescriptor func() ([]byte, int) + func NewReplayServer(svc Replay, opts ...interface{}) TwirpServer