Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
ShellSocket *zmq.Socket
ControlSocket *zmq.Socket
StdinSocket *zmq.Socket
IOPubSocket *zmq.Socket
Key []byte
Options *Options
}
SocketGroup holds the sockets needed to communicate with the kernel, and the key for message signing.
func New ¶
func New(opts *Options) (*Connection, error)
type Options ¶
type Options struct {
SignatureScheme string `json:"signature_scheme"`
Transport string `json:"transport"`
StdinPort int `json:"stdin_port"`
ControlPort int `json:"control_port"`
IOPubPort int `json:"iopub_port"`
HeartBeatPort int `json:"hb_port"`
ShellPort int `json:"shell_port"`
Key string `json:"key"`
IP string `json:"ip"`
}
ConnectionOptions stores the contents of the kernel connection file created by Jupyter.
Click to show internal directories.
Click to hide internal directories.