secrpc

package module
v0.0.0-...-d39882f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2014 License: GPL-3.0 Imports: 7 Imported by: 0

README

secrpc

TLS wrapper net/rpc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SecureDial

func SecureDial(network, addr string, cert []byte) (net.Conn, error)

func SecureDialWithCert

func SecureDialWithCert(network, addr, caFile string) (net.Conn, error)

Types

type SecureServer

type SecureServer struct {
	// contains filtered or unexported fields
}

func NewSecureServer

func NewSecureServer(addr, certFile, keyFile string) (*SecureServer, error)

func (*SecureServer) RegisterName

func (s *SecureServer) RegisterName(name string, rcvr interface{}) error

func (*SecureServer) Serve

func (s *SecureServer) Serve() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL