Versions in this module Expand all Collapse all v0 v0.1.0 Jan 19, 2024 Changes in this version + func CustomGRPCHeaderMatcher(key string) (string, bool) + func ServeCommand(cdc *codec.CodecProxy, interfaceReg jsonpb.AnyResolver, ...) *cobra.Command + func StartRestServer(cdc *codec.CodecProxy, interfaceReg jsonpb.AnyResolver, ...) error + type JSONMarshalAdapter struct + func NewJSONMarshalAdapter(jsonPb *gateway.JSONPb, codec *codec.CodecProxy) *JSONMarshalAdapter + func (m *JSONMarshalAdapter) ContentType() string + func (m *JSONMarshalAdapter) Marshal(v interface{}) ([]byte, error) + func (m *JSONMarshalAdapter) NewDecoder(r io.Reader) runtime.Decoder + func (m *JSONMarshalAdapter) NewEncoder(w io.Writer) runtime.Encoder + func (m *JSONMarshalAdapter) Unmarshal(data []byte, v interface{}) error + type RestServer struct + Cdc *codec.CodecProxy + CliCtx context.CLIContext + GRPCGatewayRouter *runtime.ServeMux + KeyBase keybase.Keybase + Mux *mux.Router + func NewRestServer(cdc *codec.CodecProxy, interfaceReg jsonpb.AnyResolver, tmNode *node.Node) *RestServer + func (rs *RestServer) Logger() log.Logger + func (rs *RestServer) Start(listenAddr string, maxOpen int, readTimeout, writeTimeout uint, ...) (err error)