package
0.0.0-20230313140341-b44964e63a92
Repository: https://github.com/mongoose-os/mos.git
Documentation: pkg.go.dev
# Packages
Copyright (c) 2014-2019 Cesanta Software Limited All rights reserved
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Copyright (c) 2014-2019 Cesanta Software Limited All rights reserved
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
# Functions
ClientCert specifies the client certificate chain to supply to the server and enables TLS.
ClientCertFiles will load certificate and key from the specified files to present to the server and enables TLS.
No description provided by the author
No description provided by the author
ListenerConfigFromURL offers a quick way to create ListenerConfig from URL, e.g.
ListenerTracing enables the RPC tracing functionality.
LocalID specifies mgrpc id of the local node.
No description provided by the author
No description provided by the author
SendPSK sets the preshared-key for the connection.
No description provided by the author
ServerCert specifies the certificate to present to remote peers and enables TLS.
ServerCertFiles will load certificate and key from the specified files to be used by the server and enables TLS.
No description provided by the author
Tracing enables the RPC tracing functionality.
UseHTTPPost instructs RPC to use HTTP POST requests to send commands.
UseWebSocket instructs RPC to create a WebSocket connection.
VerifyClientsWith specifies the pool of CA certificates to use for validating client certificates.
VerifyClientsWithCAsFromFile is a wrapper for VerifyClientsWith that reads CA certificates from file.
VerifyServerWith specifies the pool of CA certificates to use for validating server's certificate.
VerifyServerWithCAsFromFile is a wrapper for VerifyServerWith that reads CA certificates from file.
# Structs
ErrorResponse is an error type for failed commands.
HTTPListenerConfig configures the HTTP and WebSocket listener.
ListenerConfig specifies a listener that receives RPC connections.
TCPListenerConfig is a TCP listener configuration.
TLSConfig configures the TLS listener wrapper.
# Interfaces
No description provided by the author
# Type aliases
ConnectOption is an optional argument to Instance.Connect which affects the behaviour of the connection.
No description provided by the author
No description provided by the author
ListenOption implements the option pattern for the Listen function.