MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / Close

Method Close

client/session.go:214–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212}
213
214func (s *Session) Close() error {
215 req := rpc.NewTSCloseSessionReq()
216 req.SessionId = s.sessionId
217 _, err := s.client.CloseSession(context.Background(), req)
218 if err != nil {
219 return err
220 }
221 return s.trans.Close()
222}
223
224/*
225 *set one storage group

Callers

nothing calls this directly

Calls 3

NewTSCloseSessionReqFunction · 0.92
CloseSessionMethod · 0.65
CloseMethod · 0.65

Tested by

no test coverage detected