# Functions
NewSM creates and initializes a new SM, registering its own methods onto the given rpc server.
# Structs
DeliveryReceipt contains the arguments of RPC call to SM.Deliver.
Handler is an HTTP handler that provides the endpoints of this service.
QueryMessage contains the arguments of RPC call to SM.Query.
QueryMessageResp contains RPC response from SM.Query.
ShortMessage contains the arguments of RPC call to SM.Submit.
ShortMessageResp contains of RPC response from SM.Submit.
SM export its public methods to JSON RPC.