Documentation
¶
Index ¶
- Constants
- func DataDir() (string, error)
- func RegisterSink(o SinkOpener, scheme string, schemes ...string)
- func ResolveSessionCSV(opts ...ResolveSessionCSVOpt) (string, error)
- type Race
- type ResolveSessionCSVOpt
- type ResolveSessionCSVOpts
- type Result
- type Score
- type ScoreSessionOpt
- type ScoreSessionOpts
- type Session
- type Sink
- type SinkOpener
- type UpdateSessionOpt
- type UpdateSessionOpts
Constants ¶
View Source
const (
EnvVarRVGLDataDir = "RVGL_DATA_DIR"
)
Variables ¶
This section is empty.
Functions ¶
func RegisterSink ¶
func RegisterSink(o SinkOpener, scheme string, schemes ...string)
func ResolveSessionCSV ¶
func ResolveSessionCSV(opts ...ResolveSessionCSVOpt) (string, error)
Types ¶
type ResolveSessionCSVOpt ¶
type ResolveSessionCSVOpt interface {
Apply(*ResolveSessionCSVOpts)
}
type ResolveSessionCSVOpts ¶
func (*ResolveSessionCSVOpts) Apply ¶
func (o *ResolveSessionCSVOpts) Apply(opts *ResolveSessionCSVOpts)
type Score ¶
func ScoreSession ¶
func ScoreSession(session *Session, opts ...ScoreSessionOpt) []Score
type ScoreSessionOpt ¶
type ScoreSessionOpt interface {
Apply(*ScoreSessionOpts)
}
type ScoreSessionOpts ¶
func (*ScoreSessionOpts) Apply ¶
func (o *ScoreSessionOpts) Apply(opts *ScoreSessionOpts)
type Session ¶
type Sink ¶
type Sink interface {
UpdateSession(context.Context, *Session, ...UpdateSessionOpt) error
}
type UpdateSessionOpt ¶ added in v0.2.0
type UpdateSessionOpt interface {
Apply(*UpdateSessionOpts)
}
type UpdateSessionOpts ¶ added in v0.2.0
type UpdateSessionOpts struct {
Final bool
ScoreSessionOpts *ScoreSessionOpts
}
func (*UpdateSessionOpts) Apply ¶ added in v0.2.0
func (o *UpdateSessionOpts) Apply(opts *UpdateSessionOpts)
Click to show internal directories.
Click to hide internal directories.
