rsocket / rsocket-go

rsocket-go implementation
Apache License 2.0
511 stars 46 forks source link

unexport type how to implement #129

Open andy12011 opened 1 year ago

andy12011 commented 1 year ago

inServerBuilder interface it unexport(private) type serverResumeOptions in OpServerResume, how to implement "Resume(opts ...OpServerResume) ServerBuilder"?

jjeffcaii commented 1 year ago

Try rsocket.WithServerResumeSessionDuration.

jjeffcaii commented 1 year ago

To be honest, RESUME is unstable, do more local tests if you persist in using this feature.