Versions in this module Expand all Collapse all v0 v0.1.2 Nov 6, 2026 Changes in this version + func WithLocationAllDayEvent(location *time.Location) parseOpts + func WithLocationMap(name string, location *time.Location) parseOpts v0.1.1 Nov 6, 2026 Changes in this version + var ErrInvalidLocation = errors.New("invalid location") + func WithLocation(name string, location *time.Location) parseOpts v0.1.0 Nov 6, 2026 Changes in this version + var ErrConcurrentClosed = errors.New("concurrent parser is closed") + var ErrInvalidSource = errors.New("invalid source") + func WithEndTime(end time.Time) parseOpts + func WithHTTP11Client(forceHTTP11 bool) parseOpts + func WithStartTime(start time.Time) parseOpts + type Conc struct + func NewConcurrent(ctx context.Context, parser *Parser) *Conc + func (c *Conc) Close() error + func (c *Conc) EventSlice() []gocal.Event + func (c *Conc) Events() <-chan gocal.Event + func (c *Conc) Submit(src string) error + func (c *Conc) Wait() + type Parser struct + func NewParser(opts ...parseOpts) *Parser + func (p *Parser) GetError() error + func (p *Parser) ParseOne(ctx context.Context, s string) (events []gocal.Event, retErr error) + type Source interface + Close func() error + Reader func() io.Reader + Type func() SourceType + type SourceType int + const TypeFile + const TypeURL + const TypeUnknown