Documentation
¶
Index ¶
- Variables
- type RedisReadWriter
- func (r *RedisReadWriter) Close() error
- func (r *RedisReadWriter) Configure(cfg *config.TrackConfigOptions) error
- func (r *RedisReadWriter) ListIDs(ctx context.Context) ([]string, error)
- func (r *RedisReadWriter) LoadTrackByID(ctx context.Context, trackID string) (*track.Track, error)
- func (r *RedisReadWriter) WriteTrack(ctx context.Context, p *merged.Pilot) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ReadWriter = &RedisReadWriter{stop: make(chan struct{})}
)
Functions ¶
This section is empty.
Types ¶
type RedisReadWriter ¶
type RedisReadWriter struct {
// contains filtered or unexported fields
}
func (*RedisReadWriter) Close ¶
func (r *RedisReadWriter) Close() error
func (*RedisReadWriter) Configure ¶
func (r *RedisReadWriter) Configure(cfg *config.TrackConfigOptions) error
func (*RedisReadWriter) ListIDs ¶
func (r *RedisReadWriter) ListIDs(ctx context.Context) ([]string, error)
func (*RedisReadWriter) LoadTrackByID ¶
func (*RedisReadWriter) WriteTrack ¶
Click to show internal directories.
Click to hide internal directories.