StaticShardPicker always returns the same shard index.
| 13 | |
| 14 | // StaticShardPicker always returns the same shard index. |
| 15 | type StaticShardPicker struct { |
| 16 | index int |
| 17 | } |
| 18 | |
| 19 | func NewStaticShardPicker(index int) *StaticShardPicker { |
| 20 | return &StaticShardPicker{index: index} |
nothing calls this directly
no outgoing calls
no test coverage detected