Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record interface { Reset() String() string ProtoMessage() }
Record represents data for writing.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer structure to write data to Goat server.
func CreateWriter ¶
func CreateWriter(w writerI, conn *grpc.ClientConn) *Writer
CreateWriter creates writer with writer interface and gRPC connection.
func (*Writer) Finish ¶
func (w *Writer) Finish()
Finish gets to know to the Goat server that a writing is finished and a response is expected. Then, it closes the gRPC connection.
func (*Writer) SendIdentifier ¶
SendIdentifier sends identifier to Goat server.
Click to show internal directories.
Click to hide internal directories.