Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶ added in v0.2.2
type Server struct {
// contains filtered or unexported fields
}
func StartServer ¶ added in v0.2.2
func StartServerFast ¶ added in v0.2.2
func (*Server) ServerProcessorAuth ¶ added in v0.2.2
func (*Server) ServerProcessorCall ¶ added in v0.2.2
type SimpleClient ¶
type SimpleClient struct {
// contains filtered or unexported fields
}
func NewSimpleClient ¶
func NewSimpleClient(address string) *SimpleClient
func (*SimpleClient) Calculate ¶
func (c *SimpleClient) Calculate(a int, b int) (result int, err error)
func (*SimpleClient) Version ¶
func (c *SimpleClient) Version() (result string, err error)
type SimpleServer ¶
type SimpleServer struct {
// contains filtered or unexported fields
}
func NewSimpleServer ¶
func NewSimpleServer(privateKey *rsa.PrivateKey) *SimpleServer
func (*SimpleServer) ServerProcessorAuth ¶
func (c *SimpleServer) ServerProcessorAuth(authData []byte) (err error)
func (*SimpleServer) ServerProcessorCall ¶
func (*SimpleServer) Start ¶
func (c *SimpleServer) Start()
func (*SimpleServer) Stop ¶
func (c *SimpleServer) Stop()
Click to show internal directories.
Click to hide internal directories.