Skip to content

Commit

Permalink
Fix stub
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed May 28, 2024
1 parent c69e025 commit 7a2d097
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions x/psiphon/stub/psiphon/psiphon.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,13 @@ func (controller *Controller) Dial(remoteAddr string, downstreamConn net.Conn) (
return nil, errNotAvailable
}

func SetNoticeWriter(writer io.Writer)
func SetNoticeWriter(writer io.Writer) {}

type NoticeReceiver struct{}

func NewNoticeReceiver(callback func([]byte)) *NoticeReceiver
func NewNoticeReceiver(callback func([]byte)) *NoticeReceiver {
return nil
}

func (receiver *NoticeReceiver) Write(p []byte) (n int, err error) {
return 0, errNotAvailable
Expand Down

0 comments on commit 7a2d097

Please sign in to comment.