Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + var DefaultFactory = func(higherThan func(h int64) bool, version SelectVersion, internal interface{}) SelectorFactory + func MarshalChannel(cdc *codec.CodecProxy, c *types.Channel) ([]byte, error) + func MustMarshalChannel(cdc *codec.CodecProxy, c *types.Channel) []byte + func MustMarshalConnection(cdc *codec.CodecProxy, c *conntypes.ConnectionEnd) []byte + func MustUnmarshalChannel(cdc *codec.CodecProxy, data []byte) *types.Channel + func MustUnmarshalConnection(cdc *codec.CodecProxy, data []byte) *conntypes.ConnectionEnd + func UnmarshalConnection(cdc *codec.CodecProxy, data []byte) (*conntypes.ConnectionEnd, error) + type CommonHeightSelector struct + func NewCommonHeightSelector(higherThan func(h int64) bool, version SelectVersion, internal interface{}) *CommonHeightSelector + func (c *CommonHeightSelector) Select(ctx sdk.Context) (interface{}, bool) + func (c *CommonHeightSelector) Version() SelectVersion + type SelectVersion float64 + type Selector interface + Select func(ctx sdk.Context) (interface{}, bool) + Version func() SelectVersion + type SelectorFactory func() Selector + type SelectorStrategy struct + func NewSelectorStrategy(internal interface{}) *SelectorStrategy + func (f *SelectorStrategy) GetInternal() interface{} + func (f *SelectorStrategy) GetProxy(ctx sdk.Context) interface{} + func (f *SelectorStrategy) RegisterSelectors(factories ...SelectorFactory) + func (f *SelectorStrategy) Seal() + func (f *SelectorStrategy) Seald() bool + type Selectors []Selector + func (m Selectors) Len() int + func (m Selectors) Less(i, j int) bool + func (m Selectors) Swap(i, j int)