Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOTransport ¶
type IOTransport struct { Stderr io.Writer AccountsDir string Cmd string // contains filtered or unexported fields }
Delta Chat RPC transport using external deltachat-rpc-server program
func NewIOTransport ¶
func NewIOTransport() *IOTransport
func (*IOTransport) CallResult ¶
func (*IOTransport) Close ¶
func (self *IOTransport) Close()
func (*IOTransport) Open ¶
func (self *IOTransport) Open() error
type RpcTransport ¶
type RpcTransport interface { // Request the RPC server to call a function that does not have a return value. Call(ctx context.Context, method string, params ...any) error // Request the RPC server to call a function that does have a return value. CallResult(ctx context.Context, result any, method string, params ...any) error }
Delta Chat RPC client's transport.
type TransportStartedErr ¶
type TransportStartedErr struct{}
TransportStartedErr is returned by IOTransport.Open() if the Transport is already started
func (*TransportStartedErr) Error ¶
func (self *TransportStartedErr) Error() string
Click to show internal directories.
Click to hide internal directories.