File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -100,21 +100,21 @@ type (
100100 }
101101
102102 CustomManagerFuncs struct {
103- Run func () error
104- Shutdown func () error
103+ RunFunc func () error
104+ ShutdownFunc func () error
105105 }
106106)
107107
108108func (f * CustomManagerFuncs ) Run () error {
109- return f .Run ()
109+ return f .RunFunc ()
110110}
111111
112112func (f * CustomManagerFuncs ) Shutdown () error {
113- if f .Shutdown == nil {
113+ if f .ShutdownFunc == nil {
114114 return nil
115115 }
116116
117- return f .Shutdown ()
117+ return f .ShutdownFunc ()
118118}
119119
120120func (t * customMananger ) Start () <- chan error {
@@ -138,7 +138,7 @@ func WithCustom(impl customManangerImpl) Option {
138138 }
139139
140140 return func (o * serverOptions ) error {
141- o .transports = append (o .transports , & customTransportMananger {
141+ o .transports = append (o .transports , & customMananger {
142142 impl : impl ,
143143 })
144144 return nil
You can’t perform that action at this time.
0 commit comments