Browse Source

fix docs

pull/372/head
aler9 5 years ago
parent
commit
c742e30e67
  1. 4
      internal/sourcertmp/source.go
  2. 2
      internal/sourcertsp/source.go

4
internal/sourcertmp/source.go

@ -24,7 +24,7 @@ const (
retryPause = 5 * time.Second retryPause = 5 * time.Second
) )
// Parent is implemeneted by path.Path. // Parent is implemented by path.Path.
type Parent interface { type Parent interface {
Log(logger.Level, string, ...interface{}) Log(logger.Level, string, ...interface{})
OnExtSourceSetReady(req source.ExtSetReadyReq) OnExtSourceSetReady(req source.ExtSetReadyReq)
@ -79,7 +79,7 @@ func (s *Source) Close() {
// IsSource implements source.Source. // IsSource implements source.Source.
func (s *Source) IsSource() {} func (s *Source) IsSource() {}
// IsExtSource implements path.extSource. // IsExtSource implements source.ExtSource.
func (s *Source) IsExtSource() {} func (s *Source) IsExtSource() {}
func (s *Source) log(level logger.Level, format string, args ...interface{}) { func (s *Source) log(level logger.Level, format string, args ...interface{}) {

2
internal/sourcertsp/source.go

@ -90,7 +90,7 @@ func (s *Source) Close() {
// IsSource implements source.Source. // IsSource implements source.Source.
func (s *Source) IsSource() {} func (s *Source) IsSource() {}
// IsExtSource implements path.extSource. // IsExtSource implements source.ExtSource.
func (s *Source) IsExtSource() {} func (s *Source) IsExtSource() {}
func (s *Source) log(level logger.Level, format string, args ...interface{}) { func (s *Source) log(level logger.Level, format string, args ...interface{}) {

Loading…
Cancel
Save