github.com/cosmos/cosmos-sdk@v0.50.10/x/auth/posthandler/post.go (about) 1 package posthandler 2 3 import ( 4 sdk "github.com/cosmos/cosmos-sdk/types" 5 ) 6 7 // HandlerOptions are the options required for constructing a default SDK PostHandler. 8 type HandlerOptions struct{} 9 10 // NewPostHandler returns an empty PostHandler chain. 11 func NewPostHandler(_ HandlerOptions) (sdk.PostHandler, error) { 12 postDecorators := []sdk.PostDecorator{} 13 14 return sdk.ChainPostDecorators(postDecorators...), nil 15 }