[client:client] created public signatures 'Send(io.Writer) error' and 'Receive(io.Reader) error'
This commit is contained in:
parent
2454751812
commit
09d514d5b9
|
@ -1,6 +1,7 @@
|
||||||
package client;
|
package client;
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"io"
|
||||||
"git.xdrm.io/schastsp/context"
|
"git.xdrm.io/schastsp/context"
|
||||||
"git.xdrm.io/schastsp/client/keyset"
|
"git.xdrm.io/schastsp/client/keyset"
|
||||||
)
|
)
|
||||||
|
@ -46,4 +47,25 @@ func New(ctx *context.T, saveDir string) (*T, error) {
|
||||||
|
|
||||||
return inst, nil;
|
return inst, nil;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* (3) Processes and sends a new request
|
||||||
|
*
|
||||||
|
* @w<io.Writer> Writer to send into
|
||||||
|
*
|
||||||
|
* @return err<error> Error
|
||||||
|
*
|
||||||
|
---------------------------------------------------------*/
|
||||||
|
func (c *T) Send(w io.Writer) error { return nil }
|
||||||
|
|
||||||
|
|
||||||
|
/* (4) Receives and processes a response
|
||||||
|
*
|
||||||
|
* @w<io.Reader> Reader to receive from
|
||||||
|
*
|
||||||
|
* @return err<error> Error
|
||||||
|
*
|
||||||
|
---------------------------------------------------------*/
|
||||||
|
func (c *T) Receive(r io.Reader) error { return nil }
|
Loading…
Reference in New Issue