WithHashIDEncoder Set the default hash id encoder
(s hashid.Encoder)
| 134 | |
| 135 | // WithHashIDEncoder Set the default hash id encoder |
| 136 | func WithHashIDEncoder(s hashid.Encoder) Option { |
| 137 | return optionFunc(func(o *dependency) { |
| 138 | o.hashidEncoder = s |
| 139 | }) |
| 140 | } |
| 141 | |
| 142 | // WithTokenAuth Set the default token auth |
| 143 | func WithTokenAuth(s auth.TokenAuth) Option { |
nothing calls this directly
no test coverage detected