Close should be called when the server is done
()
| 106 | |
| 107 | // Close should be called when the server is done |
| 108 | func (s *Server) Close() error { |
| 109 | // TODO: This should probably trigger a server shutdown |
| 110 | |
| 111 | if s.aud != nil { |
| 112 | s.aud.Close() |
| 113 | } |
| 114 | |
| 115 | return nil |
| 116 | } |
| 117 | |
| 118 | // Ping implements RuntimeService |
| 119 | func (s *Server) Ping(ctx context.Context, req *runtimev1.PingRequest) (*runtimev1.PingResponse, error) { |